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

public Class RootGrammarState

extends SimpleState
implements ExpressionOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.ExpressionOwner
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.ExpressionOwner, .SimpleState, .State, com.sun.msv.relaxns.verifier.IslandSchemaImpl, .SchemaProviderImpl, com.sun.msv.util.StartTagInfo

invokes State object that parses the document element. this state is used only one when starting parsing a RELAX schema. For included module/grammar, different states are used.
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

creates appropriate child state object for this element
protected void
endSelf()

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

this method is called in endElement method when the state is about to be removed.
public final void
Inherited from com.sun.msv.reader.SimpleState:
endDocumentendElementisGrammarElementstartElement

Constructor Detail

RootGrammarStateback to summary
public RootGrammarState()

Method Detail

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

endSelfback to summary
protected 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

onEndChildback to summary
public final void onEndChild(Expression exp)

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