Top Description Fields Constructors Methods
com.sun.msv.grammar.xmlschema

public abstract Class RedefinableExp

extends ReferenceExp
Class Inheritance
Known Direct Subclasses
com.sun.msv.grammar.xmlschema.XMLSchemaTypeExp, com.sun.msv.grammar.xmlschema.AttributeGroupExp, com.sun.msv.grammar.xmlschema.GroupDeclExp
Imports
com.sun.msv.grammar.ReferenceExp

declaration that can be redefined by using <redefine> element.
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.sun.msv.grammar.ReferenceExp:
expname

Constructor Summary

AccessConstructor and Description
public
RedefinableExp(String typeLocalName)

Method Summary

Modifier and TypeMethod and Description
public abstract RedefinableExp
getClone()

clones this object.

public void
redefine(RedefinableExp rhs)

assigns contents of rhs to this object.

Inherited from com.sun.msv.grammar.ReferenceExp:
calcEpsilonReducibilitycalcHashCodeequalsisDefinedvisitvisitvisitvisit

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.msv.grammar.ReferenceExp.serialVersionUID.

Constructor Detail

RedefinableExpback to summary
public RedefinableExp(String typeLocalName)

Method Detail

getCloneback to summary
public abstract RedefinableExp getClone()

clones this object.

redefineback to summary
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.