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,ContentHandler
parses <topLevel> element.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementprotected voidendSelf(Expression contentModel) derived class will receive child expression by this methodprotected booleanchecks if this element belongs to the grammar.Methods inherited from class com.sun.msv.reader.relax.HedgeRuleBaseState
endSelf, onEndChildMethods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, startElementMethods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
TopLevelState
public TopLevelState()
-
-
Method Details
-
endSelf
Description copied from class:HedgeRuleBaseStatederived class will receive child expression by this method- Specified by:
endSelfin classHedgeRuleBaseState
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Overrides:
createChildStatein classHedgeRuleBaseState
-
isGrammarElement
Description copied from class:SimpleStatechecks if this element belongs to the grammar.- Overrides:
isGrammarElementin classSimpleState
-