| |
|
| java.lang.Object com.ibm.webdav.PropertyValue
PropertyValue | public class PropertyValue extends Object implements java.io.Serializable(Code) | | A PropertyValue represents the value of a property of a resource and
it's status.
author: Jim Amsden <jamsden@us.ibm.com> |
Field Summary | |
public int | status the status of the property as returned from a Resource.getProperty()
method. | public Element | value |
status | public int status(Code) | | the status of the property as returned from a Resource.getProperty()
method.
|
value | public Element value(Code) | | the value of the property as an XML element
|
PropertyValue | public PropertyValue(Element value, int status)(Code) | | Create a PropertyValue
Parameters: value - an XML DOM Element representing the value of the property Parameters: status - WebDAV the status code of the property as returned from one of the manyResource.getProperty() methods. |
getStatus | public int getStatus()(Code) | | The status of the property as returned from a Resource.getProperty()
method.
the HTTP or WebDAV status code for a property |
getValue | public Element getValue()(Code) | | The value of the property as an XML element
the value of a property |
nodeToString | public static String nodeToString(Element el)(Code) | | Format a PropertyValue as a string of the form: value(status)
a string representation of a PropertyValue |
toContentString | public String toContentString()(Code) | | Format a PropertyValue as a string. This
usually returns the content of the protocol tag.
a string representation of a PropertyValue |
toString | public String toString()(Code) | | Format a PropertyValue as a string of the form: value(status)
a string representation of a PropertyValue |
|
|
|