org.w3._2001.xmlschema
Class AttributeGroup

java.lang.Object
  extended by org.w3._2001.xmlschema.OpenAttrs
      extended by org.w3._2001.xmlschema.Annotated
          extended by org.w3._2001.xmlschema.AttributeGroup
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AttributeGroupRef, NamedAttributeGroup

public abstract class AttributeGroup
extends Annotated
implements java.io.Serializable

Java class for attributeGroup complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="attributeGroup">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>
       <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Wildcard anyAttribute
           
protected  java.util.List<Annotated> attributeOrAttributeGroup
           
protected  java.lang.String name
           
protected  javax.xml.namespace.QName ref
           
 
Fields inherited from class org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
AttributeGroup()
           
 
Method Summary
 Wildcard getAnyAttribute()
          Gets the value of the anyAttribute property.
 java.util.List<Annotated> getAttributeOrAttributeGroup()
          Gets the value of the attributeOrAttributeGroup property.
 java.lang.String getName()
          Gets the value of the name property.
 javax.xml.namespace.QName getRef()
          Gets the value of the ref property.
 void setAnyAttribute(Wildcard value)
          Sets the value of the anyAttribute property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setRef(javax.xml.namespace.QName value)
          Sets the value of the ref property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class org.w3._2001.xmlschema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.w3._2001.xmlschema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributeOrAttributeGroup

protected java.util.List<Annotated> attributeOrAttributeGroup

anyAttribute

protected Wildcard anyAttribute

name

protected java.lang.String name

ref

protected javax.xml.namespace.QName ref
Constructor Detail

AttributeGroup

public AttributeGroup()
Method Detail

getAttributeOrAttributeGroup

public java.util.List<Annotated> getAttributeOrAttributeGroup()
Gets the value of the attributeOrAttributeGroup property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attributeOrAttributeGroup property.

For example, to add a new item, do as follows:

    getAttributeOrAttributeGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list Attribute AttributeGroupRef


getAnyAttribute

public Wildcard getAnyAttribute()
Gets the value of the anyAttribute property.

Returns:
possible object is Wildcard

setAnyAttribute

public void setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property.

Parameters:
value - allowed object is Wildcard

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getRef

public javax.xml.namespace.QName getRef()
Gets the value of the ref property.

Returns:
possible object is QName

setRef

public void setRef(javax.xml.namespace.QName value)
Sets the value of the ref property.

Parameters:
value - allowed object is QName

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class Annotated


Copyright © 2011 evolveum. All Rights Reserved.