|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3._2001.xmlschema.OpenAttrs
org.w3._2001.xmlschema.Annotated
org.w3._2001.xmlschema.SimpleType
public abstract class SimpleType
Java class for simpleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="simpleType">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<group ref="{http://www.w3.org/2001/XMLSchema}simpleDerivation"/>
<attribute name="final" type="{http://www.w3.org/2001/XMLSchema}simpleDerivationSet" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<java.lang.String> |
_final
|
protected List |
list
|
protected java.lang.String |
name
|
protected Restriction |
restriction
|
protected Union |
union
|
| Fields inherited from class org.w3._2001.xmlschema.Annotated |
|---|
annotation, id |
| Constructor Summary | |
|---|---|
SimpleType()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getFinal()
Gets the value of the final property. |
List |
getList()
Gets the value of the list property. |
java.lang.String |
getName()
Gets the value of the name property. |
Restriction |
getRestriction()
Gets the value of the restriction property. |
Union |
getUnion()
Gets the value of the union property. |
void |
setList(List value)
Sets the value of the list property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setRestriction(Restriction value)
Sets the value of the restriction property. |
void |
setUnion(Union value)
Sets the value of the union property. |
java.lang.String |
toString()
Generates a String representation of the contents of this type. |
| Methods inherited from class org.w3._2001.xmlschema.Annotated |
|---|
getAnnotation, getId, setAnnotation, setId |
| Methods inherited from class org.w3._2001.xmlschema.OpenAttrs |
|---|
getOtherAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Restriction restriction
protected List list
protected Union union
protected java.util.List<java.lang.String> _final
protected java.lang.String name
| Constructor Detail |
|---|
public SimpleType()
| Method Detail |
|---|
public Restriction getRestriction()
Restrictionpublic void setRestriction(Restriction value)
value - allowed object is
Restrictionpublic List getList()
Listpublic void setList(List value)
value - allowed object is
Listpublic Union getUnion()
Unionpublic void setUnion(Union value)
value - allowed object is
Unionpublic java.util.List<java.lang.String> getFinal()
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 final property.
For example, to add a new item, do as follows:
getFinal().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String toString()
toString in class Annotated
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||