@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, setId
getOtherAttributes, setOtherAttributes
List<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()
Wildcard
void setAnyAttribute(Wildcard value)
value
- allowed object is
Wildcard
void setName(String value)
value
- allowed object is
String
Copyright © 2009–2023 Oracle Corporation. All rights reserved.