@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, setId
getOtherAttributes, setOtherAttributes
LocalSimpleType getSimpleType()
LocalSimpleType
void setSimpleType(LocalSimpleType value)
value
- allowed object is
LocalSimpleType
void setType(QName value)
value
- allowed object is
QName
void setUse(String value)
value
- allowed object is
String
String getDefault()
String
void setDefault(String value)
value
- allowed object is
String
void setFixed(String value)
value
- allowed object is
String
FormChoice getForm()
FormChoice
void setForm(FormChoice value)
value
- allowed object is
FormChoice
void setName(String value)
value
- allowed object is
String
Copyright © 2009–2023 Oracle Corporation. All rights reserved.