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
public class AttributeGroupExp extends RedefinableExp implements AttWildcardExp
attribute group declaration. the inherited exp field contains the attributes defined in this declaration.- Author:
- Kohsuke KAWAGUCHI
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description AttributeWildcard
wildcard
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
Constructors Constructor Description AttributeGroupExp(String typeLocalName)
name of this attribute group declaration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeWildcard
getAttributeWildcard()
Gets the attribute wildcard property of this schema component.RedefinableExp
getClone()
clone this object.void
redefine(RedefinableExp _rhs)
assigns contents of rhs to this object.void
setAttributeWildcard(AttributeWildcard local)
-
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
-
wildcard
public AttributeWildcard 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."
-
-
Constructor Detail
-
AttributeGroupExp
public AttributeGroupExp(String typeLocalName)
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 Detail
-
getAttributeWildcard
public AttributeWildcard 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
public void setAttributeWildcard(AttributeWildcard local)
-
getClone
public RedefinableExp getClone()
clone this object.- Specified by:
getClone
in classRedefinableExp
-
redefine
public void redefine(RedefinableExp _rhs)
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
-
-