@Contract @Hk2XmlPreGenerate public interface AttributeGroup extends Annotated
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>
| Modifier and Type | Method and Description |
|---|---|
Wildcard |
getAnyAttribute()
Gets the value of the anyAttribute property.
|
List<Annotated> |
getAttributeOrAttributeGroup()
Gets the value of the attributeOrAttributeGroup property.
|
String |
getName()
Gets the value of the name property.
|
QName |
getRef()
Gets the value of the ref property.
|
void |
setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRef(QName value)
Sets the value of the ref property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributes, setOtherAttributesList<Annotated> getAttributeOrAttributeGroup()
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
Wildcard getAnyAttribute()
Wildcardvoid setAnyAttribute(Wildcard value)
value - allowed object is
Wildcardvoid setName(String value)
value - allowed object is
StringCopyright © 2009–2019 Oracle Corporation. All rights reserved.