|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.xml.schema.OpenAttrs
org.plasma.xml.schema.Annotated
org.plasma.xml.schema.Attribute
public class Attribute
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" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
_default
|
protected String |
fixed
|
protected FormChoice |
form
|
protected String |
name
|
protected QName |
ref
|
protected LocalSimpleType |
simpleType
|
protected QName |
type
|
protected String |
use
|
| Fields inherited from class org.plasma.xml.schema.Annotated |
|---|
annotation, id |
| Constructor Summary | |
|---|---|
Attribute()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.plasma.xml.schema.Annotated |
|---|
getAnnotation, getId, setAnnotation, setId |
| Methods inherited from class org.plasma.xml.schema.OpenAttrs |
|---|
getOtherAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LocalSimpleType simpleType
protected QName type
protected String use
protected String _default
protected String fixed
protected FormChoice form
protected String name
protected QName ref
| Constructor Detail |
|---|
public Attribute()
| Method Detail |
|---|
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic QName getType()
QNamepublic void setType(QName value)
value - allowed object is
QNamepublic String getUse()
Stringpublic void setUse(String value)
value - allowed object is
Stringpublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic String getFixed()
Stringpublic void setFixed(String value)
value - allowed object is
Stringpublic FormChoice getForm()
FormChoicepublic void setForm(FormChoice value)
value - allowed object is
FormChoicepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic QName getRef()
QNamepublic void setRef(QName value)
value - allowed object is
QName
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||