com.sun.msv.grammar.xmlschema
Class RedefinableExp
java.lang.Object
|
+--com.sun.msv.grammar.Expression
|
+--com.sun.msv.grammar.ReferenceExp
|
+--com.sun.msv.grammar.xmlschema.RedefinableExp
- All Implemented Interfaces:
- Serializable
- Direct Known 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
RedefinableExp
public RedefinableExp(String typeLocalName)
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.