com.sun.msv.reader.trex

Class DefineState

public abstract class DefineState extends SimpleState implements ExpressionOwner

parses <define> declaration.

Author: Kohsuke KAWAGUCHI

Method Summary
ReferenceExpgetRef()
Obtains a ReferenceExp that represents the target pattern block.
voidonEndChild(Expression child)
receives a Pattern object that is contained in this element.

Method Detail

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.