Interface Attribute

All Superinterfaces:
Annotated, OpenAttrs, XmlObject, XmlTokenSource
All Known Subinterfaces:
TopLevelAttribute
All Known Implementing Classes:
AttributeImpl, TopLevelAttributeImpl

public interface Attribute extends Annotated
An XML attribute(@http://www.w3.org/2001/XMLSchema). This is a complex type.
  • Field Details

  • Method Details

    • getSimpleType

      LocalSimpleType getSimpleType()
      Gets the "simpleType" element
    • isSetSimpleType

      boolean isSetSimpleType()
      True if has "simpleType" element
    • setSimpleType

      void setSimpleType(LocalSimpleType simpleType)
      Sets the "simpleType" element
    • addNewSimpleType

      LocalSimpleType addNewSimpleType()
      Appends and returns a new empty "simpleType" element
    • unsetSimpleType

      void unsetSimpleType()
      Unsets the "simpleType" element
    • getName

      String getName()
      Gets the "name" attribute
    • xgetName

      XmlNCName xgetName()
      Gets (as xml) the "name" attribute
    • isSetName

      boolean isSetName()
      True if has "name" attribute
    • setName

      void setName(String name)
      Sets the "name" attribute
    • xsetName

      void xsetName(XmlNCName name)
      Sets (as xml) the "name" attribute
    • unsetName

      void unsetName()
      Unsets the "name" attribute
    • getRef

      QName getRef()
      Gets the "ref" attribute
    • xgetRef

      XmlQName xgetRef()
      Gets (as xml) the "ref" attribute
    • isSetRef

      boolean isSetRef()
      True if has "ref" attribute
    • setRef

      void setRef(QName ref)
      Sets the "ref" attribute
    • xsetRef

      void xsetRef(XmlQName ref)
      Sets (as xml) the "ref" attribute
    • unsetRef

      void unsetRef()
      Unsets the "ref" attribute
    • getType

      QName getType()
      Gets the "type" attribute
    • xgetType

      XmlQName xgetType()
      Gets (as xml) the "type" attribute
    • isSetType

      boolean isSetType()
      True if has "type" attribute
    • setType

      void setType(QName type)
      Sets the "type" attribute
    • xsetType

      void xsetType(XmlQName type)
      Sets (as xml) the "type" attribute
    • unsetType

      void unsetType()
      Unsets the "type" attribute
    • getUse

      Gets the "use" attribute
    • xgetUse

      Attribute.Use xgetUse()
      Gets (as xml) the "use" attribute
    • isSetUse

      boolean isSetUse()
      True if has "use" attribute
    • setUse

      void setUse(Attribute.Use.Enum use)
      Sets the "use" attribute
    • xsetUse

      void xsetUse(Attribute.Use use)
      Sets (as xml) the "use" attribute
    • unsetUse

      void unsetUse()
      Unsets the "use" attribute
    • getDefault

      String getDefault()
      Gets the "default" attribute
    • xgetDefault

      XmlString xgetDefault()
      Gets (as xml) the "default" attribute
    • isSetDefault

      boolean isSetDefault()
      True if has "default" attribute
    • setDefault

      void setDefault(String xdefault)
      Sets the "default" attribute
    • xsetDefault

      void xsetDefault(XmlString xdefault)
      Sets (as xml) the "default" attribute
    • unsetDefault

      void unsetDefault()
      Unsets the "default" attribute
    • getFixed

      String getFixed()
      Gets the "fixed" attribute
    • xgetFixed

      XmlString xgetFixed()
      Gets (as xml) the "fixed" attribute
    • isSetFixed

      boolean isSetFixed()
      True if has "fixed" attribute
    • setFixed

      void setFixed(String fixed)
      Sets the "fixed" attribute
    • xsetFixed

      void xsetFixed(XmlString fixed)
      Sets (as xml) the "fixed" attribute
    • unsetFixed

      void unsetFixed()
      Unsets the "fixed" attribute
    • getForm

      FormChoice.Enum getForm()
      Gets the "form" attribute
    • xgetForm

      FormChoice xgetForm()
      Gets (as xml) the "form" attribute
    • isSetForm

      boolean isSetForm()
      True if has "form" attribute
    • setForm

      void setForm(FormChoice.Enum form)
      Sets the "form" attribute
    • xsetForm

      void xsetForm(FormChoice form)
      Sets (as xml) the "form" attribute
    • unsetForm

      void unsetForm()
      Unsets the "form" attribute