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

All Known Implementing Classes:
    SchemaLocalElementImpl, SchemaGlobalAttributeImpl, SchemaLocalAttribute, SchemaGlobalElementImpl, SchemaLocalAttributeImpl, SchemaLocalElement, SchemaGlobalElement, SchemaGlobalAttribute

Represents an element or an attribute declaration.
Method from org.apache.xmlbeans.SchemaField Summary:
getDefaultText,   getDefaultValue,   getMaxOccurs,   getMinOccurs,   getName,   getType,   getUserData,   isAttribute,   isDefault,   isFixed,   isNillable
Method from org.apache.xmlbeans.SchemaField Detail:
 public String getDefaultText()
 public XmlAnySimpleType getDefaultValue()
 public BigInteger getMaxOccurs()
    Returns the maxOccurs value for this particle, or null if it is unbounded. If it is not specified explicitly, this defaults to BigInteger.ONE.
 public BigInteger getMinOccurs()
    Returns the minOccurs value for this particle. If it is not specified explicitly, this defaults to BigInteger.ONE.
 public QName getName()
    Returns the form-unqualified-or-qualified name.
 public SchemaType getType()
    Returns the type of this use.
 public Object getUserData()
    Returns user-specific information.
 public boolean isAttribute()
    True if this use is an attribute
 public boolean isDefault()
    True if a default is supplied. If #isFixed , then isDefault is always true.
 public boolean isFixed()
    True if the value is fixed.
 public boolean isNillable()
    True if nillable; always false for attributes.