@Contract @Hk2XmlPreGenerate public interface Attribute extends Annotated
Java class for attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="attribute">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<sequence>
<element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
<attribute name="use" default="optional">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="prohibited"/>
<enumeration value="optional"/>
<enumeration value="required"/>
</restriction>
</simpleType>
</attribute>
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="form" type="{http://www.w3.org/2001/XMLSchema}formChoice" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Method and Description |
|---|---|
String |
getDefault()
Gets the value of the default property.
|
String |
getFixed()
Gets the value of the fixed property.
|
FormChoice |
getForm()
Gets the value of the form property.
|
String |
getName()
Gets the value of the name property.
|
QName |
getRef()
Gets the value of the ref property.
|
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property.
|
QName |
getType()
Gets the value of the type property.
|
String |
getUse()
Gets the value of the use property.
|
void |
setDefault(String value)
Sets the value of the default property.
|
void |
setFixed(String value)
Sets the value of the fixed property.
|
void |
setForm(FormChoice value)
Sets the value of the form property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRef(QName value)
Sets the value of the ref property.
|
void |
setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.
|
void |
setType(QName value)
Sets the value of the type property.
|
void |
setUse(String value)
Sets the value of the use property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributes, setOtherAttributesLocalSimpleType getSimpleType()
LocalSimpleTypevoid setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypevoid setType(QName value)
value - allowed object is
QNamevoid setUse(String value)
value - allowed object is
StringString getDefault()
Stringvoid setDefault(String value)
value - allowed object is
Stringvoid setFixed(String value)
value - allowed object is
StringFormChoice getForm()
FormChoicevoid setForm(FormChoice value)
value - allowed object is
FormChoicevoid setName(String value)
value - allowed object is
StringCopyright © 2009–2019 Oracle Corporation. All rights reserved.