public class HrefValuedProperty extends BaseProperty
href
value.element, response
Constructor and Description |
---|
HrefValuedProperty(ResponseEntity response,
org.w3c.dom.Element element)
Default constructor for the property.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHref()
Returns the value of the href element.
|
java.lang.String |
getPropertyAsString()
This method returns the value of the property.
|
java.lang.String |
toString()
Get a String representation of the property.
|
getElement, getLocalName, getName, getNamespaceURI, getOwningURL, getStatusCode
public HrefValuedProperty(ResponseEntity response, org.w3c.dom.Element element)
public java.lang.String getHref()
public java.lang.String getPropertyAsString()
BaseProperty
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
Tue, 05 Dec 2000 05:25:02
.getPropertyAsString
in interface Property
getPropertyAsString
in class BaseProperty
public java.lang.String toString()
BaseProperty
toString
in class BaseProperty