com.sun.msv.reader.trex

Class DefineState

Implemented Interfaces:
ContentHandler, ExpressionOwner
Known Direct Subclasses:
DefineState, DefineState

public abstract class DefineState
extends SimpleState
implements ExpressionOwner

parses <define> declaration.
Author:
Kohsuke KAWAGUCHI

Field Summary

Fields inherited from class com.sun.msv.reader.State

reader

Method Summary

ReferenceExp
getRef()
Obtains a ReferenceExp that represents the target pattern block.
void
onEndChild(Expression child)
receives a Pattern object that is contained in this element.

Methods inherited from class com.sun.msv.reader.SimpleState

endDocument, endElement, startElement

Methods inherited from class com.sun.msv.reader.State

_assert, characters, endPrefixMapping, getBaseURI, getLocation, getParentState, getStartTag, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping

Method Details

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