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

public Class RootState

extends RootIncludedPatternState
Class Inheritance
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.State, com.sun.msv.util.StartTagInfo

invokes State object that parses the document element. This class is used to parse the first grammar.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private boolean
simple

a flag that indicates 'grammar' element was not used.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected State
createChildState(StartTagInfo tag)

Overrides com.sun.msv.reader.trex.RootIncludedPatternState.createChildState.

creates appropriate child state object for this element
public void

Field Detail

simpleback to summary
private boolean simple

a flag that indicates 'grammar' element was not used. In that case, this object is responsible to set start pattern.

Constructor Detail

RootStateback to summary
public RootState()

Method Detail

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Overrides com.sun.msv.reader.trex.RootIncludedPatternState.createChildState.

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

creates appropriate child state object for this element

onEndChildback to summary
public void onEndChild(Expression exp)

Overrides com.sun.msv.reader.trex.RootIncludedPatternState.onEndChild.

Implements com.sun.msv.reader.ExpressionOwner.onEndChild.