Class LabelRefState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.ExpressionState
com.sun.msv.reader.ExpressionWithoutChildState
com.sun.msv.reader.relax.LabelRefState
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
ElementRefState, HedgeRefState
base implementation of HedgeRefState and ElementRefState.
this class resolves namespace attribute and label attribute into the actual
ReferenceExp object.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExpressionThis method is called from endElement method.protected abstract Expressiongets or creates appropriate referenceMethods inherited from class ExpressionWithoutChildState
createChildStateMethods inherited from class ExpressionState
endSelfMethods inherited from class SimpleState
endDocument, endElement, isGrammarElement, startElementMethods inherited from class State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
-
Constructor Details
-
LabelRefState
LabelRefState()
-
-
Method Details
-
makeExpression
Description copied from class:ExpressionStateThis method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpressionin classExpressionState
-
resolve
gets or creates appropriate reference
-