com.sun.msv.reader.trex
Class DefineState
java.lang.Object
com.sun.msv.reader.State
com.sun.msv.reader.SimpleState
com.sun.msv.reader.trex.DefineState
- All Implemented Interfaces:
- ExpressionOwner, ContentHandler
- Direct Known Subclasses:
- DefineState, DefineState
public abstract class DefineState
- extends SimpleState
- implements ExpressionOwner
parses <define> declaration.
- Author:
- Kohsuke KAWAGUCHI
Fields inherited from class com.sun.msv.reader.State |
reader |
Methods inherited from class com.sun.msv.reader.State |
_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
DefineState
public DefineState()
getRef
public final ReferenceExp getRef()
- Obtains a
ReferenceExp
that represents the target
pattern block.
- Returns:
- null
If there was an error in the input, this method may
return null.
onEndChild
public final void onEndChild(Expression child)
- receives a Pattern object that is contained in this element.
- Specified by:
onEndChild
in interface ExpressionOwner