|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DavProperty<T>
The Property class represents a Property of a WebDAV
resource. The #hashCode() and #equals(Object) methods are
overridden in a way, such that the name and value of the property are
respected. This means, a property is equal to another if the names
and values are equal.
The XML representation of a DavProperty:
new DavProperty("displayname", "WebDAV Directory").toXml
gives a element like:
<D:displayname>WebDAV Directory</D:displayname>
new DavProperty("resourcetype", new Element("collection")).toXml
gives a element like:
<D:resourcetype><D:collection/></D:resourcetype>
Element[] customVals = { new Element("bla", customNamespace), new Element("bli", customNamespace) };
new DavProperty("custom-property", customVals, customNamespace).toXml
gives an element like
<Z:custom-property>
<Z:bla/>
<Z:bli/>
</Z:custom-property>
| Field Summary |
|---|
| Method Summary | |
|---|---|
DavPropertyName |
getName()
Returns the name of this property |
T |
getValue()
Returns the value of this property |
boolean |
isInvisibleInAllprop()
Return true if this property should be suppressed
in a PROPFIND/DAV:allprop
response. |
| Methods inherited from interface org.apache.jackrabbit.webdav.xml.XmlSerializable |
|---|
toXml |
| Method Detail |
|---|
DavPropertyName getName()
T getValue()
boolean isInvisibleInAllprop()
true if this property should be suppressed
in a PROPFIND/DAV:allprop
response. See RFC 4918, Section 9.1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||