com.sun.msv.reader.trex
Class NameClassState

java.lang.Object
  extended by com.sun.msv.reader.State
      extended by com.sun.msv.reader.SimpleState
          extended by 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

Field Summary
 
Fields inherited from class com.sun.msv.reader.State
baseURI, location, parentState, reader, startTag
 
Constructor Summary
NameClassState()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameClassState

public NameClassState()
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 class SimpleState

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()


MSV