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 State
createChildState(StartTagInfo tag)
creates appropriate child state object for this elementprotected void
endSelf(Expression contentModel)
derived class will receive child expression by this methodprotected boolean
isGrammarElement(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:HedgeRuleBaseState
derived class will receive child expression by this method- Specified by:
endSelf
in classHedgeRuleBaseState
-
createChildState
protected State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Overrides:
createChildState
in classHedgeRuleBaseState
-
isGrammarElement
protected boolean isGrammarElement(StartTagInfo tag)
Description copied from class:SimpleState
checks if this element belongs to the grammar.- Overrides:
isGrammarElement
in classSimpleState
-
-