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

public Class RootIncludedPatternState

extends SimpleState
implements ExpressionOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.ExpressionOwner
Known Direct Subclasses
com.sun.msv.reader.trex.RootState
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.ExpressionOwner, .SimpleState, .State, com.sun.msv.util.StartTagInfo

parses the root state of a grammar included as a pattern.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private final IncludePatternState
grandParent

parsed external pattern will be reported to this object.

Constructor Summary

AccessConstructor and Description
protected

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
public void
Inherited from com.sun.msv.reader.SimpleState:
endDocumentendElementendSelfisGrammarElementstartElement

Field Detail

grandParentback to summary
private final IncludePatternState grandParent

parsed external pattern will be reported to this object. This state parses top-level, so parentState is null.

Constructor Detail

RootIncludedPatternStateback to summary
protected RootIncludedPatternState(IncludePatternState grandpa)

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

onEndChildback to summary
public void onEndChild(Expression exp)

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