Package com.sun.msv.reader
Class ExpressionWithoutChildState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.ExpressionWithoutChildState
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
AnyOtherElementState
,AnyState
,AttPoolRefState
,DataState
,ElementRefState
,IncludePatternState
,LabelRefState
,RefState
,StringState
,TerminalState
,ValueState
Base implementation for those states who cannot have any children.
(e.g., RELAX: empty, null, etc. TREX: anyString, notAllowed, etc.)
Note that this class does not prohibit children from different namespace.
Those "foreign" elements are just ignored.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final State
creates appropriate child state object for this elementMethods inherited from class com.sun.msv.reader.ExpressionState
endSelf, makeExpression
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
-
Constructor Details
-
ExpressionWithoutChildState
public ExpressionWithoutChildState()
-
-
Method Details
-
createChildState
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-