Package com.sun.msv.relaxns.reader
Class GrammarState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.relaxns.reader.GrammarState
- All Implemented Interfaces:
ContentHandler
parses <grammar> element.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected State
creates appropriate child state object for this elementprotected RELAXNSReader
gets reader in type-safe fashionprotected void
performs a task that should be done before reading any child elements.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
-
Constructor Details
-
GrammarState
public GrammarState()
-
-
Method Details
-
getReader
gets reader in type-safe fashion -
createChildState
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-
startSelf
protected void startSelf()Description copied from class:State
performs a task that should be done before reading any child elements. derived-class can safely read startTag and/or parentState values.
-