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 booleana flag that indicates 'grammar' element was not used. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementvoidonEndChild(Expression exp) Methods inherited from class SimpleState
endDocument, endElement, endSelf, isGrammarElement, startElementMethods inherited from class 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:SimpleStatecreates appropriate child state object for this element- Overrides:
createChildStatein classRootIncludedPatternState
-
onEndChild
- Specified by:
onEndChildin interfaceExpressionOwner- Overrides:
onEndChildin classRootIncludedPatternState
-