Class AttributeGT

    • Constructor Detail

      • AttributeGT

        public AttributeGT​(String id,
                           String name,
                           URI namespace,
                           SimpleType type,
                           int use,
                           String defaulT,
                           String fixed,
                           boolean form)
        Creates a new AttributeGT object.
    • Method Detail

      • 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:
        Attribute.getDefault()
      • 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:
        Attribute.getFixed()
      • 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:
        Attribute.isForm()
      • 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:
        Attribute.getUse()