Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
org.apache.xmlbeans
public interface: SchemaLocalAttribute [javadoc | source]

All Implemented Interfaces:
    SchemaAnnotated, SchemaField

All Known Implementing Classes:
    SchemaGlobalAttributeImpl, SchemaLocalAttributeImpl, SchemaGlobalAttribute

Represents a local or global attribute definition.
Field Summary
static final  int PROHIBITED    A prohibited attribute. See #getUse
static final  int OPTIONAL    An optional attribute. See #getUse
static final  int REQUIRED    A required attribute. See #getUse
Method from org.apache.xmlbeans.SchemaLocalAttribute Summary:
getUse
Method from org.apache.xmlbeans.SchemaLocalAttribute Detail:
 public int getUse()
    Returns #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.)