Top Description Constructors Methods
com.sun.msv.reader.trex

public abstract Class NameClassState

extends SimpleState
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.trex.NameClassWithChildState, com.sun.msv.reader.trex.NameClassWithoutChildState
Imports
com.sun.msv.grammar.NameClass, com.sun.msv.reader.SimpleState

Base implementation for NameClass primitives
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
endSelf()

Overrides com.sun.msv.reader.SimpleState.endSelf.

this method is called in endElement method when the state is about to be removed.
protected final String
protected abstract NameClass
makeNameClass()

This method is called from endElement method.

Inherited from com.sun.msv.reader.SimpleState:
createChildStateendDocumentendElementisGrammarElementstartElement

Constructor Detail

NameClassStateback to summary
public NameClassState()

Method Detail

endSelfback to summary
public final void endSelf()

Overrides com.sun.msv.reader.SimpleState.endSelf.

Doc from com.sun.msv.reader.SimpleState.endSelf.

this method is called in endElement method when the state is about to be removed. derived-class should perform any wrap-up job

getPropagatedNamespaceback to summary
protected final String getPropagatedNamespace()
makeNameClassback to summary
protected abstract NameClass makeNameClass()

This method is called from endElement method. Implementation has to provide NameClass object that represents the content of this element.