public interface SchemaLocalAttribute extends SchemaField, SchemaAnnotated
| Modifier and Type | Field and Description |
|---|---|
static int |
OPTIONAL
An optional attribute.
|
static int |
PROHIBITED
A prohibited attribute.
|
static int |
REQUIRED
A required attribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getUse()
|
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillablegetAnnotationstatic final int PROHIBITED
getUse().static final int OPTIONAL
getUse().static final int REQUIRED
getUse().int getUse()
PROHIBITED, OPTIONAL, or REQUIRED.
(Actually, never returns PROHIBITED because the schema specificaion
states that a prohibited attribute is equivalent to no attribute
at all, so a prohibited attribute will never be present in the compiled
model.)