Class XLinkSchema.XLinkAttribute

Object
XLinkAttribute
All Implemented Interfaces:
Attribute
Direct Known Subclasses:
XLinkSchema.Actuate, XLinkSchema.Arcrole, XLinkSchema.From, XLinkSchema.Href, XLinkSchema.Label, XLinkSchema.Role, XLinkSchema.Show, XLinkSchema.Title, XLinkSchema.To
Enclosing class:
XLinkSchema

protected abstract static class XLinkSchema.XLinkAttribute extends Object implements Attribute
XLinkAttribute purpose.

Used to define some constant values for XLink attributes, such as Namespace

Author:
dzwiers, Refractions Research, Inc. http://www.refractions.net, $Author:$ (last modification)
  • Constructor Details

    • XLinkAttribute

      protected XLinkAttribute()
  • Method Details

    • getNamespace

      public URI getNamespace()
      Specified by:
      getNamespace in interface Attribute
      See Also:
      • schema.Attribute#getNameSpace()
    • getDefault

      public String getDefault()
      Description copied from interface: Attribute
      This is intended to imitate the default value option provided in the declaration of an XML Schema attribute.
      Specified by:
      getDefault in interface Attribute
      Returns:
      Default Value as a String or Null
      See Also:
      • schema.Attribute#getDefault()
    • isForm

      public boolean isForm()
      Description copied from interface: Attribute
      Intended to represent the form of an XML attribute. This method should return True when the attribute is "qualified".
      Specified by:
      isForm in interface Attribute
      See Also:
      • schema.Attribute#isForm()
    • getId

      public String getId()
      Description copied from interface: Attribute
      The Schema ID for this attribute definition.
      Specified by:
      getId in interface Attribute
      See Also:
      • schema.Attribute#getId()