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
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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Statecreates appropriate child state object for this elementMethods inherited from class com.sun.msv.reader.trex.NameClassState
endSelf, getPropagatedNamespace, makeNameClassMethods 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
-
NameClassWithoutChildState
public NameClassWithoutChildState()
-
-
Method Details
-
createChildState
Description copied from class:SimpleStatecreates appropriate child state object for this element- Specified by:
createChildStatein classSimpleState
-