|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaField
Represents an element or an attribute declaration.
SchemaType.getContainerField()
,
SchemaLocalElement
,
SchemaLocalAttribute
Method Summary | |
---|---|
java.lang.String |
getDefaultText()
The default value as plain text. |
XmlAnySimpleType |
getDefaultValue()
The default value as a strongly-typed value. |
java.math.BigInteger |
getMaxOccurs()
Returns the maxOccurs value for this particle, or null if it is unbounded. |
java.math.BigInteger |
getMinOccurs()
Returns the minOccurs value for this particle. |
javax.xml.namespace.QName |
getName()
Returns the form-unqualified-or-qualified name. |
SchemaType |
getType()
Returns the type of this use. |
java.lang.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 |
---|
javax.xml.namespace.QName getName()
boolean isAttribute()
boolean isNillable()
SchemaType getType()
java.math.BigInteger getMinOccurs()
java.math.BigInteger getMaxOccurs()
java.lang.String getDefaultText()
isDefault()
and isFixed()
.
XmlAnySimpleType getDefaultValue()
isDefault()
and isFixed()
.
boolean isDefault()
isFixed()
, then isDefault is always true.
boolean isFixed()
java.lang.Object getUserData()
SchemaBookmark
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |