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
,ContentHandler
invokes State object that parses the document element.
This class is used to parse the first grammar.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
a flag that indicates 'grammar' element was not used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected State
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
-
Field Details
-
simple
private boolean simplea flag that indicates 'grammar' element was not used. In that case, this object is responsible to set start pattern.
-
-
Constructor Details
-
RootState
public RootState()
-
-
Method Details
-
createChildState
Description copied from class:SimpleState
creates appropriate child state object for this element- Overrides:
createChildState
in classRootIncludedPatternState
-
onEndChild
- Specified by:
onEndChild
in interfaceExpressionOwner
- Overrides:
onEndChild
in classRootIncludedPatternState
-