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

pack-priv abstract Class LabelRefState

extends ExpressionWithoutChildState
Class Inheritance
Known Direct Subclasses
com.sun.msv.reader.relax.ElementRefState, com.sun.msv.reader.relax.HedgeRefState
Imports
com.sun.msv.grammar.Expression, com.sun.msv.reader.ExpressionWithoutChildState, .GrammarReader

base implementation of HedgeRefState and ElementRefState. this class resolves namespace attribute and label attribute into the actual ReferenceExp object.
Author
Kohsuke KAWAGUCHI

Constructor Summary

AccessConstructor and Description
pack-priv

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 abstract Expression
resolve(String namespace, String label)

gets or creates appropriate reference

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

Constructor Detail

LabelRefStateback to summary
pack-priv LabelRefState()

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.

resolveback to summary
protected abstract Expression resolve(String namespace, String label)

gets or creates appropriate reference