org.apache.xmlbeans.impl.schema

## Class SchemaAttributeGroupImpl

- java.lang.Object
- - org.apache.xmlbeans.impl.schema.SchemaAttributeGroupImpl

- All Implemented Interfaces:
    SchemaAnnotated, SchemaAttributeGroup, SchemaComponent

      public class SchemaAttributeGroupImpl
      extends Object
      implements SchemaAttributeGroup

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.xmlbeans.SchemaAttributeGroup

      `SchemaAttributeGroup.Ref`

  - ### Field Summary

    - ### Fields inherited from interface org.apache.xmlbeans.SchemaComponent

      `ANNOTATION, ATTRIBUTE, ATTRIBUTE_GROUP, ELEMENT, IDENTITY_CONSTRAINT, MODEL_GROUP, NOTATION, TYPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)`
    `SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container, QName name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SchemaAnnotation` | `getAnnotation()` Returns the Schema annotation object or null if none present
    `String` | `getChameleonNamespace()`
    `SchemaComponent.Ref` | `getComponentRef()` Used for on-demand loading of schema components.
    `int` | `getComponentType()` Returns SchemaComponent.ATTRIBUTE_GROUP.
    `String` | `getFormDefault()`
    `QName` | `getName()` The name of the model group.
    `XmlObject` | `getParseObject()`
    `SchemaAttributeGroup.Ref` | `getRef()`
    `String` | `getSourceName()` The name of resource that represends the source .xsd in which this component was defined (if known) See: `SchemaTypeLoader.getSourceAsStream(String)` Example:
    `String` | `getTargetNamespace()`
    `SchemaTypeSystem` | `getTypeSystem()` Returns the typesystem within which this component definition resides
    `Object` | `getUserData()` Returns user-specific information.
    `void` | `init(QName name, String targetNamespace, boolean chameleon, String formDefault, boolean redefinition, XmlObject x, SchemaAnnotation a, Object userData)`
    `boolean` | `isRedefinition()`
    `void` | `setFilename(String filename)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SchemaAttributeGroupImpl

          public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container)

    - #### SchemaAttributeGroupImpl

          public SchemaAttributeGroupImpl(org.apache.xmlbeans.impl.schema.SchemaContainer container,
                                          QName name)

  - ### Method Detail

    - #### init

          public void init(QName name,
                           String targetNamespace,
                           boolean chameleon,
                           String formDefault,
                           boolean redefinition,
                           XmlObject x,
                           SchemaAnnotation a,
                           Object userData)

    - #### getTypeSystem

          public SchemaTypeSystem getTypeSystem()

      Description copied from interface: `SchemaComponent`
      Returns the typesystem within which this component definition resides
      Specified by:
        `getTypeSystem` in interface `SchemaComponent`

    - #### getComponentType

          public int getComponentType()

      Description copied from interface: `SchemaAttributeGroup`
      Returns SchemaComponent.ATTRIBUTE_GROUP.
      Specified by:
        `getComponentType` in interface `SchemaAttributeGroup`
      Specified by:
        `getComponentType` in interface `SchemaComponent`

    - #### setFilename

          public void setFilename(String filename)

    - #### getSourceName

          public String getSourceName()

      Description copied from interface: `SchemaComponent`
      The name of resource that represends the source .xsd in which this component was defined (if known)
      See: `SchemaTypeLoader.getSourceAsStream(String)`
      Example:

             SchemaType schemaType = ..;
             InputStream is = schemaType.getTypeSystem().getSourceAsStream(schemaType.getSourceName());

      Specified by:
        `getSourceName` in interface `SchemaComponent`

    - #### getName

          public QName getName()

      Description copied from interface: `SchemaAttributeGroup`
      The name of the model group.
      Specified by:
        `getName` in interface `SchemaAttributeGroup`
      Specified by:
        `getName` in interface `SchemaComponent`

    - #### getParseObject

          public XmlObject getParseObject()

    - #### getTargetNamespace

          public String getTargetNamespace()

    - #### getChameleonNamespace

          public String getChameleonNamespace()

    - #### getFormDefault

          public String getFormDefault()

    - #### getAnnotation

          public SchemaAnnotation getAnnotation()

      Description copied from interface: `SchemaAnnotated`
      Returns the Schema annotation object or null if none present
      Specified by:
        `getAnnotation` in interface `SchemaAnnotated`

    - #### getRef

          public SchemaAttributeGroup.Ref getRef()

    - #### getComponentRef

          public SchemaComponent.Ref getComponentRef()

      Description copied from interface: `SchemaComponent`
      Used for on-demand loading of schema components.
      Specified by:
        `getComponentRef` in interface `SchemaComponent`

    - #### isRedefinition

          public boolean isRedefinition()

    - #### getUserData

          public Object getUserData()

      Description copied from interface: `SchemaAttributeGroup`
      Returns user-specific information.
      Specified by:
        `getUserData` in interface `SchemaAttributeGroup`
      See Also:
        `SchemaBookmark`