com.sun.msv.grammar.xmlschema

Class AttributeGroupExp

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

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

AttributeGroupExp(String typeLocalName)
name of this attribute group declaration.

Method Summary

AttributeWildcard
getAttributeWildcard()
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.xmlschema.RedefinableExp

getClone, redefine

Methods inherited from class com.sun.msv.grammar.ReferenceExp

equals, isDefined, visit, visit, visit, visit

Methods inherited from class com.sun.msv.grammar.Expression

equals, getExpandedExp, hashCode, isEpsilonReducible, peelOccurence, visit, visit, visit, visit, visit, visit, visit, visit

Field Details

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. Only ComplexTypeExp 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 Details

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 Details

getAttributeWildcard

public AttributeWildcard getAttributeWildcard()
Specified by:
getAttributeWildcard in interface AttWildcardExp

getClone

public RedefinableExp getClone()
clone this object.
Overrides:
getClone in interface RedefinableExp

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.
Overrides:
redefine in interface RedefinableExp

setAttributeWildcard

public void setAttributeWildcard(AttributeWildcard local)