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
declaration that can be redefined by using <redefine> element.
- Author:
- Kohsuke KAWAGUCHI
- See Also:
-
Field Summary
Fields inherited from class ReferenceExp
exp, nameFields inherited from class Expression
anyString, epsilon, nullSet, verifierTag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract RedefinableExpgetClone()clones this object.voidredefine(RedefinableExp rhs) assigns contents of rhs to this object.Methods inherited from class ReferenceExp
calcEpsilonReducibility, calcHashCode, equals, isDefined, visit, visit, visit, visitMethods inherited from class Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
-
Constructor Details
-
RedefinableExp
-
-
Method Details
-
getClone
clones this object. -
redefine
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.
-