com.sun.msv.reader.trex
Class RootState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by com.sun.msv.reader.trex.RootIncludedPatternState
              extended by com.sun.msv.reader.trex.RootState
All Implemented Interfaces:
ExpressionOwner, ContentHandler

public class RootState
extends RootIncludedPatternState

invokes State object that parses the document element. This class is used to parse the first grammar.

Author:
Kohsuke KAWAGUCHI

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
RootState()
           
 
Method Summary
protected  State createChildState(StartTagInfo tag)
          creates appropriate child state object for this element
 void onEndChild(Expression exp)
           
 
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, endSelf, isGrammarElement, startElement
 
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootState

public RootState()
Method Detail

createChildState

protected State createChildState(StartTagInfo tag)
Description copied from class: SimpleState
creates appropriate child state object for this element

Overrides:
createChildState in class RootIncludedPatternState

onEndChild

public void onEndChild(Expression exp)
Specified by:
onEndChild in interface ExpressionOwner
Overrides:
onEndChild in class RootIncludedPatternState


MSV