Class JsoupAttribute

  • All Implemented Interfaces:
    IAttribute

    public class JsoupAttribute
    extends java.lang.Object
    implements IAttribute
    Implementation of the IAttribute interface; wrapper for the JSoup Attribute class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Gets the key.
      java.lang.String getValue()
      Gets the value.
      • Methods inherited from class java.lang.Object

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

      • JsoupAttribute

        public JsoupAttribute​(Attribute attribute)
        Creates a new JsoupAttribute instance.
        Parameters:
        attribute - the attribute
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Description copied from interface: IAttribute
        Gets the key.
        Specified by:
        getKey in interface IAttribute
        Returns:
        the key
      • getValue

        public java.lang.String getValue()
        Description copied from interface: IAttribute
        Gets the value.
        Specified by:
        getValue in interface IAttribute
        Returns:
        the value