PropertyAclProperty, CurrentUserPrivilegeSetProperty, DateProperty, GetContentLengthProperty, HrefValuedProperty, LockDiscoveryProperty, PrincipalCollectionSetProperty, ResourceTypeProperty, SupportedLockPropertypublic class BaseProperty extends java.lang.Object implements Property
| Modifier and Type | Field | Description |
|---|---|---|
protected org.w3c.dom.Element |
element |
Associated node element.
|
protected ResponseEntity |
response |
Associated response entity.
|
| Constructor | Description |
|---|---|
BaseProperty(ResponseEntity response,
org.w3c.dom.Element element) |
Default constructor for the property.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.w3c.dom.Element |
getElement() |
This method returns the property as a DOM Element.
|
java.lang.String |
getLocalName() |
This method returns the local name of the property.
|
java.lang.String |
getName() |
This method returns the full name of the property.
|
java.lang.String |
getNamespaceURI() |
This method returns the namespace of the property.
|
java.lang.String |
getOwningURL() |
This method returns URL file path of the resource to which this
property belongs.
|
java.lang.String |
getPropertyAsString() |
This method returns the value of the property.
|
int |
getStatusCode() |
This method returns the status code associated with the property.
|
java.lang.String |
toString() |
Get a String representation of the property.
|
protected ResponseEntity response
protected org.w3c.dom.Element element
public BaseProperty(ResponseEntity response, org.w3c.dom.Element element)
public java.lang.String getName()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified> returns
D:getlastmodified.public java.lang.String getLocalName()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified> returns
getlastmodified.getLocalName in interface Propertypublic java.lang.String getNamespaceURI()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified> returns
DAV:.getNamespaceURI in interface Propertypublic org.w3c.dom.Element getElement()
getElement in interface Propertypublic java.lang.String getPropertyAsString()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified> returns
Tue, 05 Dec 2000 05:25:02.getPropertyAsString in interface Propertypublic int getStatusCode()
getStatusCode in interface Propertypublic java.lang.String getOwningURL()
getOwningURL in interface Propertypublic java.lang.String toString()
toString in class java.lang.Object