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

public Class IncludeMergeState

extends IncludeMergeState
implements ExpressionOwner
Class Inheritance
All Implemented Interfaces
com.sun.msv.reader.ExpressionOwner
Imports
java.util.Set, com.sun.msv.grammar.Expression, .ReferenceExp, com.sun.msv.reader.ExpressionOwner, .State, com.sun.msv.util.StartTagInfo

parses <include> element as a child of <grammar> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private final Set<Expression>
redefinedPatterns

set of ReferenceExps which are redefined by this inclusion.

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

Overrides com.sun.msv.reader.trex.IncludeMergeState.endSelf.

this method is called in endElement method when the state is about to be removed.
public void

Field Detail

redefinedPatternsback to summary
private final Set<Expression> redefinedPatterns

set of ReferenceExps which are redefined by this inclusion.

Constructor Detail

IncludeMergeStateback to summary
public IncludeMergeState()

Method Detail

createChildStateback to summary
protected State createChildState(StartTagInfo tag)

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

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

creates appropriate child state object for this element

endSelfback to summary
public void endSelf()

Overrides com.sun.msv.reader.trex.IncludeMergeState.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 void onEndChild(Expression child)

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