org.apache.webdav.lib.methods
Class XMLResponseMethodBase.PropertyImpl
java.lang.Object
|
+--org.apache.webdav.lib.methods.XMLResponseMethodBase.PropertyImpl
- All Implemented Interfaces:
- Property
- Direct Known Subclasses:
- XMLResponseMethodBase.GetLastModifiedPropertyImpl, XMLResponseMethodBase.ResourceTypePropertyImpl
- Enclosing class:
- XMLResponseMethodBase
- static class XMLResponseMethodBase.PropertyImpl
- extends java.lang.Object
- implements Property
This class implements the Property interface and provides basic
methods for reading the property.
Method Summary |
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 namespace of the property. |
int |
getStatusCode()
This method returns the status code associated with the property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
response
protected XMLResponseMethodBase.Response response
element
protected org.w3c.dom.Element element
XMLResponseMethodBase.PropertyImpl
XMLResponseMethodBase.PropertyImpl(XMLResponseMethodBase.Response response,
org.w3c.dom.Element element)
getName
public java.lang.String getName()
- Description copied from interface:
Property
- This method returns the full name 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
D:getlastmodified
.
- Specified by:
getName
in interface Property
getLocalName
public java.lang.String getLocalName()
- Description copied from interface:
Property
- This method returns the local name 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
getlastmodified
.
- Specified by:
getLocalName
in interface Property
getNamespaceURI
public java.lang.String getNamespaceURI()
- Description copied from interface:
Property
- This method returns the namespace 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
DAV:
.
- Specified by:
getNamespaceURI
in interface Property
getElement
public org.w3c.dom.Element getElement()
- Description copied from interface:
Property
- This method returns the property as a DOM Element.
- Specified by:
getElement
in interface Property
getPropertyAsString
public java.lang.String getPropertyAsString()
- Description copied from interface:
Property
- This method returns the namespace 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
.
- Specified by:
getPropertyAsString
in interface Property
getStatusCode
public int getStatusCode()
- Description copied from interface:
Property
- This method returns the status code associated with the property.
- Specified by:
getStatusCode
in interface Property
getOwningURL
public java.lang.String getOwningURL()
- Description copied from interface:
Property
- This method returns URL file path of the resource to which this
property belongs.
- Specified by:
getOwningURL
in interface Property
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object