Package com.sun.msv.relaxns.reader
Class TopLevelState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.relax.HedgeRuleBaseState
-
- com.sun.msv.relaxns.reader.TopLevelState
-
- All Implemented Interfaces:
ExpressionOwner,org.xml.sax.ContentHandler
public class TopLevelState extends HedgeRuleBaseState
parses <topLevel> element.
-
-
Constructor Summary
Constructors Constructor Description TopLevelState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StatecreateChildState(StartTagInfo tag)creates appropriate child state object for this elementprotected voidendSelf(Expression contentModel)derived class will receive child expression by this methodprotected booleanisGrammarElement(StartTagInfo tag)checks if this element belongs to the grammar.-
Methods inherited from class com.sun.msv.reader.relax.HedgeRuleBaseState
endSelf, onEndChild
-
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, 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
-
endSelf
protected void endSelf(Expression contentModel)
Description copied from class:HedgeRuleBaseStatederived class will receive child expression by this method- Specified by:
endSelfin classHedgeRuleBaseState
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleStatecreates appropriate child state object for this element- Overrides:
createChildStatein classHedgeRuleBaseState
-
isGrammarElement
protected boolean isGrammarElement(StartTagInfo tag)
Description copied from class:SimpleStatechecks if this element belongs to the grammar.- Overrides:
isGrammarElementin classSimpleState
-
-