|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.property.AbstractDavProperty
org.apache.jackrabbit.webdav.version.LabelSetProperty
public class LabelSetProperty
LabelSetProperty...
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
LabelSetProperty(java.lang.String[] labels)
Create a new LabelSetProperty. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getValue()
Returns the value of this property |
org.w3c.dom.Element |
toXml(org.w3c.dom.Document document)
Return a XML element representation of this property. |
| Methods inherited from class org.apache.jackrabbit.webdav.property.AbstractDavProperty |
|---|
equals, getName, hashCode, isInvisibleInAllprop |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LabelSetProperty(java.lang.String[] labels)
LabelSetProperty.
labels - | Method Detail |
|---|
public java.lang.Object getValue()
DavProperty
public org.w3c.dom.Element toXml(org.w3c.dom.Document document)
AbstractDavProperty
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>
toXml in interface XmlSerializabletoXml in class AbstractDavPropertydocument -
XmlSerializable.toXml(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||