|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SchemaLocalAttribute
Represents a local or global attribute definition.
| Field Summary | |
|---|---|
static int |
OPTIONAL
An optional attribute. |
static int |
PROHIBITED
A prohibited attribute. |
static int |
REQUIRED
A required attribute. |
| Method Summary | |
|---|---|
int |
getUse()
Returns PROHIBITED, OPTIONAL, or REQUIRED. |
| Methods inherited from interface org.apache.xmlbeans.SchemaField |
|---|
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillable |
| Methods inherited from interface org.apache.xmlbeans.SchemaAnnotated |
|---|
getAnnotation |
| Field Detail |
|---|
static final int PROHIBITED
getUse().
static final int OPTIONAL
getUse().
static final int REQUIRED
getUse().
| Method Detail |
|---|
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.)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||