Top Description Fields Constructors Methods
com.sun.msv.reader.datatype.xsd

pack-priv abstract Class TypeWithOneChildState

extends TypeState
implements XSTypeOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.datatype.xsd.XSTypeOwner
Known Direct Subclasses
com.sun.msv.reader.datatype.xsd.ListState, com.sun.msv.reader.datatype.xsd.RestrictionState, com.sun.msv.reader.datatype.xsd.SimpleTypeState
Imports
org.relaxng.datatype.DatatypeException, com.sun.msv.datatype.xsd.StringType, com.sun.msv.reader.GrammarReader

State which has at most one TypeState as its child.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected XSDatatypeExp

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected XSDatatypeExp
annealType(XSDatatypeExp dt)

performs final wrap-up and returns a fully created DataType object that represents this element.

protected final XSDatatypeExp
makeType()

Implements abstract com.sun.msv.reader.datatype.xsd.TypeState.makeType.

This method is called from endElement method.
public void
onEndChild(XSDatatypeExp child)

Implements com.sun.msv.reader.datatype.xsd.XSTypeOwner.onEndChild.

receives a Pattern object that is contained in this element.
Inherited from com.sun.msv.reader.datatype.xsd.TypeState:
_makeTypeendSelfgetTargetNamespaceUristartElement

Field Detail

typeback to summary
protected XSDatatypeExp type

Constructor Detail

TypeWithOneChildStateback to summary
pack-priv TypeWithOneChildState()

Method Detail

annealTypeback to summary
protected XSDatatypeExp annealType(XSDatatypeExp dt) throws DatatypeException

performs final wrap-up and returns a fully created DataType object that represents this element.

makeTypeback to summary
protected final XSDatatypeExp makeType() throws DatatypeException

Implements abstract com.sun.msv.reader.datatype.xsd.TypeState.makeType.

Doc from com.sun.msv.reader.datatype.xsd.TypeState.makeType.

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

onEndChildback to summary
public void onEndChild(XSDatatypeExp child)

Implements com.sun.msv.reader.datatype.xsd.XSTypeOwner.onEndChild.

receives a Pattern object that is contained in this element.