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

public Class TopLevelState

extends HedgeRuleBaseState
Class Inheritance
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.State, com.sun.msv.reader.relax.HedgeRuleBaseState, com.sun.msv.reader.relax.core.RELAXCoreReader, com.sun.msv.util.StartTagInfo

parses <topLevel> element.
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides com.sun.msv.reader.relax.HedgeRuleBaseState.createChildState.

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

Implements abstract com.sun.msv.reader.relax.HedgeRuleBaseState.endSelf.

derived class will receive child expression by this method
protected boolean
isGrammarElement(StartTagInfo tag)

Overrides com.sun.msv.reader.SimpleState.isGrammarElement.

checks if this element belongs to the grammar.
Inherited from com.sun.msv.reader.relax.HedgeRuleBaseState:
endSelfonEndChild

Constructor Detail

TopLevelStateback to summary
public TopLevelState()

Method Detail

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

Overrides com.sun.msv.reader.relax.HedgeRuleBaseState.createChildState.

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

creates appropriate child state object for this element

endSelfback to summary
protected void endSelf(Expression contentModel)

Implements abstract com.sun.msv.reader.relax.HedgeRuleBaseState.endSelf.

Doc from com.sun.msv.reader.relax.HedgeRuleBaseState.endSelf.

derived class will receive child expression by this method

isGrammarElementback to summary
protected boolean isGrammarElement(StartTagInfo tag)

Overrides com.sun.msv.reader.SimpleState.isGrammarElement.

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

checks if this element belongs to the grammar.