public class 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 | Field and Description |
---|---|
protected String |
_default |
protected String |
fixed |
protected FormChoice |
form |
protected String |
name |
protected QName |
ref |
protected LocalSimpleType |
simpleType |
protected QName |
type |
protected String |
use |
annotation, id
Constructor and Description |
---|
Attribute() |
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
protected LocalSimpleType simpleType
protected QName type
protected String use
protected String _default
protected String fixed
protected FormChoice form
protected String name
protected QName ref
public LocalSimpleType getSimpleType()
LocalSimpleType
public void setSimpleType(LocalSimpleType value)
value
- allowed object is
LocalSimpleType
public QName getType()
QName
public void setType(QName value)
value
- allowed object is
QName
public void setUse(String value)
value
- allowed object is
String
public String getDefault()
String
public void setDefault(String value)
value
- allowed object is
String
public String getFixed()
String
public void setFixed(String value)
value
- allowed object is
String
public FormChoice getForm()
FormChoice
public void setForm(FormChoice value)
value
- allowed object is
FormChoice
public String getName()
String
public void setName(String value)
value
- allowed object is
String
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.