Class AttributeGT

Object
AttributeGT
All Implemented Interfaces:
Attribute

public class AttributeGT extends Object implements Attribute
Author:
dzwiers
  • Constructor Details

  • Method Details

    • 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:
    • getFixed

      public String getFixed()
      Description copied from interface: Attribute
      This is intended to imitate the fixed value option provided in the declaration of an XML Schema attribute.
      Specified by:
      getFixed in interface Attribute
      Returns:
      Fixed Value as a String or Null
      See Also:
    • 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:
    • getId

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

      public String getName()
      Description copied from interface: Attribute
      The name of the attribute specified if one was provided in the attribute declaration
      Specified by:
      getName in interface Attribute
      See Also:
    • getUse

      public int getUse()
      Description copied from interface: Attribute
      Attributes only have three options for the number or occurences: none, once, optionally once. This method returns the mask which represents the use of this attribute.
      Specified by:
      getUse in interface Attribute
      See Also:
    • getSimpleType

      public SimpleType getSimpleType()
      Description copied from interface: Attribute
      Provides a reference to the simpleType which defines the data type of this attribute.
      Specified by:
      getSimpleType in interface Attribute
      See Also:
    • getNamespace

      public URI getNamespace()
      Specified by:
      getNamespace in interface Attribute
      See Also: