|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents an element or an attribute declaration.
SchemaType.getContainerField()
,
SchemaLocalElement
,
SchemaLocalAttribute
Method Summary | |
String |
getDefaultText()
The default value as plain text. |
XmlAnySimpleType |
getDefaultValue()
The default value as a strongly-typed value. |
BigInteger |
getMaxOccurs()
Returns the maxOccurs value for this particle, or null if it is unbounded. |
BigInteger |
getMinOccurs()
Returns the minOccurs value for this particle. |
QName |
getName()
Returns the form-unqualified-or-qualified name. |
SchemaType |
getType()
Returns the type of this use. |
Object |
getUserData()
Returns user-specific information. |
boolean |
isAttribute()
True if this use is an attribute |
boolean |
isDefault()
True if a default is supplied. |
boolean |
isFixed()
True if the value is fixed. |
boolean |
isNillable()
True if nillable; always false for attributes. |
Method Detail |
public QName getName()
public boolean isAttribute()
public boolean isNillable()
public SchemaType getType()
public BigInteger getMinOccurs()
public BigInteger getMaxOccurs()
public String getDefaultText()
isDefault()
and isFixed()
.
public XmlAnySimpleType getDefaultValue()
isDefault()
and isFixed()
.
public boolean isDefault()
isFixed()
, then isDefault is always true.
public boolean isFixed()
public Object getUserData()
SchemaBookmark
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |