Class AttributeObject


  • public class AttributeObject
    extends java.lang.Object
    Represents the attribute of any XFDF element.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String name  
      private java.lang.String value  
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeObject​(java.lang.String name, java.lang.String value)
      Creates an instance with given attribute name and value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns attribute name.
      java.lang.String getValue()
      Returns attribute value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        private java.lang.String name
      • value

        private java.lang.String value
    • Constructor Detail

      • AttributeObject

        public AttributeObject​(java.lang.String name,
                               java.lang.String value)
        Creates an instance with given attribute name and value.
        Parameters:
        name - the name of the attribute, constrained by XML attributes specification.
        value - the value of the attribute, constrained by XML attributes specification.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns attribute name.
        Returns:
        a string representation of attribute name, case-sensitive as per XML specification.
      • getValue

        public java.lang.String getValue()
        Returns attribute value.
        Returns:
        a string representation of attribute value.