Package com.sun.msv.reader
Class TerminalState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.ExpressionWithoutChildState
com.sun.msv.reader.TerminalState
- All Implemented Interfaces:
ContentHandler
State that always returns the same expression.
Typically used for <empty/>, <notAllowed/> and <text/> of RELAX NG.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Expression
This method is called from endElement method.Methods inherited from class com.sun.msv.reader.ExpressionWithoutChildState
createChildState
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, 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, startSelf
-
Field Details
-
exp
-
-
Constructor Details
-
TerminalState
-
-
Method Details
-
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 classExpressionState
-