|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.webdav.lib.BaseProperty
public class BaseProperty
This interface models a DAV property.
Field Summary | |
---|---|
protected org.w3c.dom.Element |
element
Associated node element. |
protected ResponseEntity |
response
Associated response entity. |
Constructor Summary | |
---|---|
BaseProperty(ResponseEntity response,
org.w3c.dom.Element element)
Default constructor for 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 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ResponseEntity response
protected org.w3c.dom.Element element
Constructor Detail |
---|
public BaseProperty(ResponseEntity response, org.w3c.dom.Element element)
Method Detail |
---|
public java.lang.String getName()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
D:getlastmodified
.
getName
in interface Property
public java.lang.String getLocalName()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
getlastmodified
.
getLocalName
in interface Property
public java.lang.String getNamespaceURI()
<D:getlastmodified>Tue, 05 Dec 2000
05:25:02</D:getlastmodified>
returns
DAV:
.
getNamespaceURI
in interface Property
public org.w3c.dom.Element getElement()
getElement
in interface Property
public 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 Property
public int getStatusCode()
getStatusCode
in interface Property
public java.lang.String getOwningURL()
getOwningURL
in interface Property
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |