com.sun.msv.grammar.xmlschema

Class AttributeGroupExp

public class AttributeGroupExp extends RedefinableExp implements AttWildcardExp

attribute group declaration. the inherited exp field contains the attributes defined in this declaration.

Author: Kohsuke KAWAGUCHI

Field Summary
AttributeWildcardwildcard
Attribute wild card constraint.
Constructor Summary
AttributeGroupExp(String typeLocalName)
name of this attribute group declaration.
Method Summary
AttributeWildcardgetAttributeWildcard()
RedefinableExpgetClone()
clone this object.
voidredefine(RedefinableExp _rhs)
voidsetAttributeWildcard(AttributeWildcard local)

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. 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 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()

getClone

public RedefinableExp getClone()
clone this object.

redefine

public void redefine(RedefinableExp _rhs)

setAttributeWildcard

public void setAttributeWildcard(AttributeWildcard local)