Package 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:
java.io.Serializable
- Direct Known Subclasses:
AttributeGroupExp
,GroupDeclExp
,XMLSchemaTypeExp
public abstract class RedefinableExp extends ReferenceExp
declaration that can be redefined by using <redefine> element.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
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
Constructors Constructor Description RedefinableExp(java.lang.String typeLocalName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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
calcEpsilonReducibility, calcHashCode, equals, isDefined, visit, visit, visit, visit
-
Methods inherited from class com.sun.msv.grammar.Expression
getExpandedExp, hashCode, hashCode, hashCode, isEpsilonReducible, peelOccurence, readResolve, visit, visit, visit, visit
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-