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:
ContentHandler
- Direct Known Subclasses:
NameClassWithChildState
,NameClassWithoutChildState
public abstract class NameClassState extends SimpleState
Base implementation for NameClass primitives- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description NameClassState()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
endSelf()
this method is called in endElement method when the state is about to be removed.protected String
getPropagatedNamespace()
protected abstract NameClass
makeNameClass()
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:SimpleState
this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job- Overrides:
endSelf
in 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 String getPropagatedNamespace()
-
-