Represents an element or an attribute declaration.
Related Topics
SchemaType.getContainerField()
SchemaLocalElement
SchemaLocalAttribute
SchemaGlobalAttribute
, SchemaGlobalElement
, SchemaLocalAttribute
, SchemaLocalElement
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
Method Detail |
public String
getDefaultText()
The default value as plain text. See SchemaField.isDefault()
and SchemaField.isFixed()
.
public XmlAnySimpleType
getDefaultValue()
The default value as a strongly-typed value. See SchemaField.isDefault()
and SchemaField.isFixed()
.
public BigInteger
getMaxOccurs()
Returns the maxOccurs value for this particle, or null if it
is unbounded.
If it is not specified explicitly, this defaults to BigInteger.ONE.
public BigInteger
getMinOccurs()
Returns the minOccurs value for this particle.
If it is not specified explicitly, this defaults to BigInteger.ONE.
public QName
getName()
Returns the form-unqualified-or-qualified name.
public SchemaType
getType()
Returns the type of this use.
public boolean isAttribute()True if this use is an attribute
public boolean isDefault()True if a default is supplied. If
SchemaField.isFixed()
, then isDefault is always true.
public boolean isFixed()True if the value is fixed.
public boolean isNillable()True if nillable; always false for attributes.