com.sun.msv.grammar.xmlschema

Class RedefinableExp

Implemented Interfaces:
Serializable
Known Direct Subclasses:
AttributeGroupExp, GroupDeclExp, XMLSchemaTypeExp

public abstract class RedefinableExp
extends ReferenceExp

declaration that can be redefined by using <redefine> element.
Author:
Kohsuke KAWAGUCHI
See Also:
Serialized Form

Field Summary

Fields inherited from class com.sun.msv.grammar.ReferenceExp

exp, name

Fields inherited from class com.sun.msv.grammar.Expression

anyString, epsilon, nullSet, verifierTag

Constructor Summary

RedefinableExp(String typeLocalName)

Method Summary

abstract RedefinableExp
getClone()
clones this object.
void
redefine(RedefinableExp rhs)
assigns contents of rhs to this object.

Methods inherited from class com.sun.msv.grammar.ReferenceExp

equals, isDefined, visit, visit, visit, visit

Methods inherited from class com.sun.msv.grammar.Expression

equals, getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit, visit, visit, visit, visit

Constructor Details

RedefinableExp

public RedefinableExp(String typeLocalName)

Method Details

getClone

public abstract RedefinableExp getClone()
clones this object.

redefine

public void redefine(RedefinableExp rhs)
assigns contents of rhs to this object. rhs and this object must be the same runtime type, and they must have the same name. this method redefines this object by the given component. derived class should override this method and copy necessary fields, should it necessary.