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

public Class RefState

extends ExpressionWithoutChildState
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.trex.ng.RefState
Imports
com.sun.msv.grammar.Expression, .ReferenceExp, com.sun.msv.grammar.trex.TREXGrammar, com.sun.msv.reader.ExpressionWithoutChildState

parses <ref> pattern.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
protected boolean

Constructor Summary

AccessConstructor and Description
public
RefState(boolean parentRef)

Method Summary

Modifier and TypeMethod and Description
protected Expression
makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method.
protected void
wrapUp(ReferenceExp r)

Performs the final wrap-up.

Inherited from com.sun.msv.reader.ExpressionWithoutChildState:
createChildState

Field Detail

parentRefback to summary
protected boolean parentRef

Constructor Detail

RefStateback to summary
public RefState(boolean parentRef)

Method Detail

makeExpressionback to summary
protected Expression makeExpression()

Implements abstract com.sun.msv.reader.ExpressionState.makeExpression.

Doc from com.sun.msv.reader.ExpressionState.makeExpression.

This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.

wrapUpback to summary
protected void wrapUp(ReferenceExp r)

Performs the final wrap-up.