|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.property.DavPropertySet
The DavPropertySet
class represents a set of WebDAV
property.
Constructor Summary | |
DavPropertySet()
|
Method Summary | |
DavProperty |
add(DavProperty property)
Adds a new property to this set. |
void |
addAll(DavPropertySet pset)
|
boolean |
contains(DavPropertyName name)
Checks if this set contains the property with the specified name. |
boolean |
contains(String name)
Checks if this set contains the property with the specified name and the default WebDAV namespace . |
DavProperty |
get(DavPropertyName name)
Retrieves the property with the specified name |
DavProperty |
get(String name)
Retrieves the property with the specified name and the
default WebDAV namespace . |
DavProperty |
get(String name,
org.jdom.Namespace namespace)
Retrieves the property with the specified name and
namespace . |
DavPropertyName[] |
getPropertyNames()
Return the names of all properties present in this set. |
boolean |
isEmpty()
Return true if this property set is empty. |
DavPropertyIterator |
iterator()
Returns an iterator over all property in this set. |
DavPropertyIterator |
iterator(org.jdom.Namespace namespace)
Returns an iterator over all those property in this set, that have the indicated namespace . |
DavProperty |
remove(DavPropertyName name)
Removes the indicated property from this set. |
DavProperty |
remove(String name)
Removes the property with the specified name and the
default WebDAV namespace . |
DavProperty |
remove(String name,
org.jdom.Namespace namespace)
Removes the property with the specified name and
namespace from this set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DavPropertySet()
Method Detail |
public DavProperty add(DavProperty property)
property
- The property to add
null
.public void addAll(DavPropertySet pset)
pset
- Properties to addpublic DavProperty get(String name)
name
and the
default WebDAV namespace
.
name
- The name of the property to retrieve
null
public DavProperty get(String name, org.jdom.Namespace namespace)
name
and
namespace
.
name
- The name of the property to retrievenamespace
- The namespace of the property to retrieve
null
public DavProperty get(DavPropertyName name)
name
name
- The webdav property name of the property to retrieve
null
public DavProperty remove(DavPropertyName name)
name
- The webdav property name to remove
null
public DavProperty remove(String name)
name
and the
default WebDAV namespace
.
name
- The name of the property to remove
null
public DavProperty remove(String name, org.jdom.Namespace namespace)
name
and
namespace
from this set.
name
- The name of the property to removenamespace
- The namespace of the property to remove
null
public DavPropertyIterator iterator()
DavProperty
.public DavPropertyIterator iterator(org.jdom.Namespace namespace)
namespace
.
namespace
- The namespace of the property in the iteration.
DavProperty
.public boolean contains(DavPropertyName name)
name
- The name of the property
true
if this set contains the property;
false
otherwise.public boolean contains(String name)
namespace
.
name
- The name of the property
true
if this set contains the property;
false
otherwise.public boolean isEmpty()
public DavPropertyName[] getPropertyNames()
property names
present in this set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |