Package com.sun.msv.reader.trex
Class RootState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.trex.RootIncludedPatternState
-
- com.sun.msv.reader.trex.RootState
-
- All Implemented Interfaces:
ExpressionOwner
,org.xml.sax.ContentHandler
public class RootState extends RootIncludedPatternState
invokes State object that parses the document element. This class is used to parse the first grammar.
-
-
Constructor Summary
Constructors Constructor Description RootState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected State
createChildState(StartTagInfo tag)
creates appropriate child state object for this elementvoid
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
-
-
-
-
Method Detail
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Overrides:
createChildState
in classRootIncludedPatternState
-
onEndChild
public void onEndChild(Expression exp)
- Specified by:
onEndChild
in interfaceExpressionOwner
- Overrides:
onEndChild
in classRootIncludedPatternState
-
-