|
||||||||||
| 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.nodetype.NodeTypeProperty
public class NodeTypeProperty
NodeTypeProperty...
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
NodeTypeProperty(DavProperty property)
Create a new NodeTypeProperty from the specified general
DavProperty object. |
|
NodeTypeProperty(DavPropertyName name,
javax.jcr.nodetype.NodeType[] nodeTypes,
boolean isProtected)
|
|
NodeTypeProperty(DavPropertyName name,
javax.jcr.nodetype.NodeType nodeType,
boolean isProtected)
|
|
NodeTypeProperty(DavPropertyName name,
java.lang.String[] nodeTypeNames,
boolean isProtected)
|
|
| Method Summary | |
|---|---|
java.util.Set |
getNodeTypeNames()
Return a set of nodetype names present in this property. |
java.lang.Object |
getValue()
Returns the value of this property which is a Set of nodetype names. |
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 NodeTypeProperty(DavPropertyName name,
javax.jcr.nodetype.NodeType nodeType,
boolean isProtected)
public NodeTypeProperty(DavPropertyName name,
javax.jcr.nodetype.NodeType[] nodeTypes,
boolean isProtected)
public NodeTypeProperty(DavPropertyName name,
java.lang.String[] nodeTypeNames,
boolean isProtected)
public NodeTypeProperty(DavProperty property)
NodeTypeProperty from the specified general
DavProperty object.
property - | Method Detail |
|---|
public java.util.Set getNodeTypeNames()
public java.lang.Object getValue()
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 | |||||||||