Package com.sun.msv.grammar.xmlschema
Class AttributeGroupExp
java.lang.Object
com.sun.msv.grammar.Expression
com.sun.msv.grammar.ReferenceExp
com.sun.msv.grammar.xmlschema.RedefinableExp
com.sun.msv.grammar.xmlschema.AttributeGroupExp
- All Implemented Interfaces:
AttWildcardExp
,Serializable
attribute group declaration.
the inherited exp field contains the attributes defined in this declaration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Attribute wild card constraint.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
ConstructorsConstructorDescriptionAttributeGroupExp
(String typeLocalName) name of this attribute group declaration. -
Method Summary
Modifier and TypeMethodDescriptionGets the attribute wildcard property of this schema component.getClone()
clone this object.void
redefine
(RedefinableExp _rhs) assigns contents of rhs to this object.void
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 Details
-
wildcard
Attribute wild card constraint.Due to the nasty definition of the interaction between attribute wildcards, we cannot add the expression for validating wildcard until the very last moment.
In any way,
AttribtueGroupExp
will NOT contain the expression corresponding to the wildcard. OnlyComplexTypeExp
will get that expression.Until the wrap-up phase of the schema parsing, this field will contain the "local wildcard definition." In the wrap-up phase, this field is replaced by the "complete wildcard definition."
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AttributeGroupExp
name of this attribute group declaration. According to the spec, the name must be unique within one schema (in our object model, one XMLSchemaSchema object).
-
-
Method Details
-
getAttributeWildcard
Description copied from interface:AttWildcardExp
Gets the attribute wildcard property of this schema component.- Specified by:
getAttributeWildcard
in interfaceAttWildcardExp
- Returns:
- If the value is absent, null is returned.
-
setAttributeWildcard
-
getClone
clone this object.- Specified by:
getClone
in classRedefinableExp
-
redefine
Description copied from class:RedefinableExp
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.- Overrides:
redefine
in classRedefinableExp
-