Class 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.
See Also:
  • 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."

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
  • 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()
      Description copied from interface: AttWildcardExp
      Gets the attribute wildcard property of this schema component.
      Specified by:
      getAttributeWildcard in interface AttWildcardExp
      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 class RedefinableExp
    • 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 class RedefinableExp