Package com.sun.msv.reader.trex
Class NameClassWithoutChildState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.trex.NameClassState
-
- com.sun.msv.reader.trex.NameClassWithoutChildState
-
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
NameClassAnyNameState
,NameClassNameState
,NameClassNsNameState
public abstract class NameClassWithoutChildState extends NameClassState
Base implementation for those states who cannot have any child name class. (e.g., nsName, anyName) Note that this class does not prohibit children from different namespace. Those "foreign" elements are just ignored.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description NameClassWithoutChildState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected State
createChildState(StartTagInfo tag)
creates appropriate child state object for this element-
Methods inherited from class com.sun.msv.reader.trex.NameClassState
endSelf, getPropagatedNamespace, makeNameClass
-
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
-
-
-
-
Method Detail
-
createChildState
protected final State createChildState(StartTagInfo tag)
Description copied from class:SimpleState
creates appropriate child state object for this element- Specified by:
createChildState
in classSimpleState
-
-