Package com.sun.msv.reader.trex
Class RefState
- 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.trex.RefState
-
- All Implemented Interfaces:
ContentHandler
- Direct Known Subclasses:
RefState
public class RefState extends ExpressionWithoutChildState
parses <ref> pattern.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description RefState(boolean parentRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Expression
makeExpression()
This method is called from endElement method.protected void
wrapUp(ReferenceExp r)
Performs the final wrap-up.-
Methods inherited from class com.sun.msv.reader.ExpressionWithoutChildState
createChildState
-
Methods inherited from class com.sun.msv.reader.ExpressionState
endSelf
-
Methods inherited from class com.sun.msv.reader.SimpleState
endDocument, endElement, isGrammarElement, startElement
-
Methods inherited from class com.sun.msv.reader.State
_assert, callInterceptExpression, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, init, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, startSelf
-
-
-
-
Method Detail
-
makeExpression
protected Expression makeExpression()
Description copied from class:ExpressionState
This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.- Specified by:
makeExpression
in classExpressionState
-
wrapUp
protected void wrapUp(ReferenceExp r)
Performs the final wrap-up.
-
-