|
||||||||||
| 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.jcr.property.NamespacesProperty
public class NamespacesProperty
NamespacesProperty...
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
NamespacesProperty(DavProperty property)
|
|
NamespacesProperty(java.util.Map namespaces)
|
|
NamespacesProperty(javax.jcr.NamespaceRegistry nsReg)
|
|
| Method Summary | |
|---|---|
java.util.Map |
getNamespaces()
|
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 NamespacesProperty(javax.jcr.NamespaceRegistry nsReg)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionpublic NamespacesProperty(java.util.Map namespaces)
public NamespacesProperty(DavProperty property)
throws DavException
DavException| Method Detail |
|---|
public java.util.Map getNamespaces()
public java.lang.Object getValue()
DavProperty
getValue in interface DavPropertypublic 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 - to be used as factory.
XmlSerializable.toXml(Document)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||