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
public class DivInGrammarState
- extends ExpressionState
- implements ExpressionOwner
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
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DivInGrammarState
public DivInGrammarState()
getReader
protected final TREXBaseReader getReader()
makeExpression
protected Expression makeExpression()
- Description copied from class:
ExpressionState
- This method is called from endElement method.
Implementation has to provide Expression object that represents the content of
this element.
- Specified by:
makeExpression
in class ExpressionState
createChildState
protected State createChildState(StartTagInfo tag)
- Description copied from class:
SimpleState
- creates appropriate child state object for this element
- Specified by:
createChildState
in class SimpleState
onEndChild
public void onEndChild(Expression exp)
- Specified by:
onEndChild
in interface ExpressionOwner
MSV