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

public Class SimpleTypeState

extends TypeWithOneChildState
Class Inheritance
Imports
java.util.StringTokenizer, com.sun.msv.datatype.xsd.XSDatatype, com.sun.msv.reader.GrammarReader, .IgnoreState, .State, com.sun.msv.util.StartTagInfo

State that parses <simpleType> element and its children.
Author
Kohsuke KAWAGUCHI

Field Summary

Inherited from com.sun.msv.reader.datatype.xsd.TypeWithOneChildState:
type

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides com.sun.msv.reader.datatype.xsd.TypeWithOneChildState.annealType.

performs final wrap-up and returns a fully created DataType object that represents this element.
protected State
createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

creates appropriate child state object for this element
public int
getFinalValue(String list)

parses final attribute

Inherited from com.sun.msv.reader.datatype.xsd.TypeWithOneChildState:
makeTypeonEndChild

Constructor Detail

SimpleTypeStateback to summary
public SimpleTypeState()

Method Detail

annealTypeback to summary
protected XSDatatypeExp annealType(final XSDatatypeExp dt)

Overrides com.sun.msv.reader.datatype.xsd.TypeWithOneChildState.annealType.

Doc from com.sun.msv.reader.datatype.xsd.TypeWithOneChildState.annealType.

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

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Implements abstract com.sun.msv.reader.SimpleState.createChildState.

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

creates appropriate child state object for this element

getFinalValueback to summary
public int getFinalValue(String list)

parses final attribute