Package com.sun.msv.reader.trex
Class NameClassState
- java.lang.Object
-
- com.sun.msv.reader.State
-
- com.sun.msv.reader.SimpleState
-
- com.sun.msv.reader.trex.NameClassState
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
- Direct Known Subclasses:
NameClassWithChildState,NameClassWithoutChildState
public abstract class NameClassState extends SimpleState
Base implementation for NameClass primitives
-
-
Constructor Summary
Constructors Constructor Description NameClassState()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidendSelf()this method is called in endElement method when the state is about to be removed.protected java.lang.StringgetPropagatedNamespace()protected abstract NameClassmakeNameClass()This method is called from endElement method.-
Methods inherited from class com.sun.msv.reader.SimpleState
createChildState, 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
-
endSelf
public final void endSelf()
Description copied from class:SimpleStatethis method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job- Overrides:
endSelfin classSimpleState
-
makeNameClass
protected abstract NameClass makeNameClass()
This method is called from endElement method. Implementation has to provide NameClass object that represents the content of this element.
-
getPropagatedNamespace
protected final java.lang.String getPropagatedNamespace()
-
-