Top Description Fields Constructors Methods
com.sun.msv.grammar.xmlschema

public Class AttributeGroupExp

extends RedefinableExp
implements AttWildcardExp
Class Inheritance
All Implemented Interfaces
com.sun.msv.grammar.xmlschema.AttWildcardExp

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

Field Summary

Modifier and TypeField and Description
private static final long
public AttributeWildcard
wildcard

Attribute wild card constraint.

Constructor Summary

AccessConstructor and Description
public
AttributeGroupExp(String typeLocalName)

name of this attribute group declaration.

Method Summary

Modifier and TypeMethod and Description
public AttributeWildcard
getAttributeWildcard()

Implements com.sun.msv.grammar.xmlschema.AttWildcardExp.getAttributeWildcard.

Gets the attribute wildcard property of this schema component.
public RedefinableExp
getClone()

Implements abstract com.sun.msv.grammar.xmlschema.RedefinableExp.getClone.

clone this object.
public void
redefine(RedefinableExp _rhs)

Overrides com.sun.msv.grammar.xmlschema.RedefinableExp.redefine.

assigns contents of rhs to this object.
public void

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.sun.msv.grammar.xmlschema.RedefinableExp.serialVersionUID.

wildcardback to summary
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

AttributeGroupExpback to summary
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

getAttributeWildcardback to summary
public AttributeWildcard getAttributeWildcard()

Implements com.sun.msv.grammar.xmlschema.AttWildcardExp.getAttributeWildcard.

Doc from com.sun.msv.grammar.xmlschema.AttWildcardExp.getAttributeWildcard.

Gets the attribute wildcard property of this schema component.

Returns:AttributeWildcard

If the value is absent, null is returned.

getCloneback to summary
public RedefinableExp getClone()

Implements abstract com.sun.msv.grammar.xmlschema.RedefinableExp.getClone.

clone this object.

redefineback to summary
public void redefine(RedefinableExp _rhs)

Overrides com.sun.msv.grammar.xmlschema.RedefinableExp.redefine.

Doc from com.sun.msv.grammar.xmlschema.RedefinableExp.redefine.

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.

setAttributeWildcardback to summary
public void setAttributeWildcard(AttributeWildcard local)