Package com.sun.msv.reader.trex
Class DivInGrammarState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.trex.DivInGrammarState
- All Implemented Interfaces:
ExpressionOwner,ContentHandler
- Direct Known Subclasses:
GrammarState
Used to parse merged grammars. Also <div> element in the grammar element
(of RELAX NG).
DivInGrammarState itself should not be a ExpressionState. However, GrammarState,
which is a derived class of this class, is a ExpressionState.
Therefore this class has to extend ExpressionState.
- Author:
- Kohsuke KAWAGUCHI
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Statecreates appropriate child state object for this elementprotected final TREXBaseReaderprotected ExpressionThis method is called from endElement method.voidonEndChild(Expression exp) Methods inherited from class com.sun.msv.reader.ExpressionState
endSelfMethods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, 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
-
DivInGrammarState
public DivInGrammarState()
-
-
Method Details
-
getReader
-
makeExpression
Description copied from class:ExpressionStateThis method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpressionin classExpressionState
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-
onEndChild
- Specified by:
onEndChildin interfaceExpressionOwner
-