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 intAn optional attribute.static final intA prohibited attribute.static final intA required attribute. -
Method Summary
Methods inherited from interface org.apache.xmlbeans.SchemaAnnotated
getAnnotationMethods 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.)
-