Class HrefValuedProperty

    • Constructor Detail

      • HrefValuedProperty

        public HrefValuedProperty​(ResponseEntity response,
                                  org.w3c.dom.Element element)
        Default constructor for the property.
    • Method Detail

      • getHref

        public java.lang.String getHref()
        Returns the value of the href element.
      • getPropertyAsString

        public java.lang.String getPropertyAsString()
        Description copied from class: BaseProperty
        This method returns the value of the property. Thus, for example, calling this method on a property such as <D:getlastmodified>Tue, 05 Dec 2000 05:25:02</D:getlastmodified> returns Tue, 05 Dec 2000 05:25:02.
        Note: Mixed content (text and xml together) will not be returned accurately.
        Specified by:
        getPropertyAsString in interface Property
        Overrides:
        getPropertyAsString in class BaseProperty
      • toString

        public java.lang.String toString()
        Description copied from class: BaseProperty
        Get a String representation of the property.
        Overrides:
        toString in class BaseProperty