Package org.apache.xmlbeans
Interface SchemaLocalAttribute
- All Superinterfaces:
SchemaAnnotated
,SchemaField
- All Known Subinterfaces:
SchemaGlobalAttribute
- All Known Implementing Classes:
SchemaGlobalAttributeImpl
,SchemaLocalAttributeImpl
Represents a local or global attribute definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
An optional attribute.static final int
A prohibited attribute.static final int
A required attribute. -
Method Summary
Methods inherited from interface org.apache.xmlbeans.SchemaAnnotated
getAnnotation
Methods inherited from interface org.apache.xmlbeans.SchemaField
getDefaultText, getDefaultValue, getMaxOccurs, getMinOccurs, getName, getType, getUserData, isAttribute, isDefault, isFixed, isNillable
-
Field Details
-
Method Details
-
getUse
int getUse()ReturnsPROHIBITED
,OPTIONAL
, orREQUIRED
. (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.)
-