|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.apache.jackrabbit.webdav.property.DavPropertyNameSet
DavPropertyNameSet
represents a Set of DavPropertyName
objects.
Constructor Summary | |
DavPropertyNameSet()
Create a new empty set. |
|
DavPropertyNameSet(Collection c)
Create a new set from the given collection. |
|
DavPropertyNameSet(org.jdom.Element propElement)
Create a new DavPropertyNameSet from the given DAV:prop
element. |
Method Summary | |
boolean |
add(DavPropertyName propertyName)
Adds the specified DavPropertyName object to this
set if it is not already present. |
boolean |
add(Object o)
Add the given object to this set. |
org.jdom.Element |
toXml()
Returns the xml representation of this property name set with the following format: |
Methods inherited from class java.util.HashSet |
clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
Constructor Detail |
public DavPropertyNameSet()
HashSet()
public DavPropertyNameSet(Collection c)
c
- HashSet(Collection)
public DavPropertyNameSet(org.jdom.Element propElement)
DavPropertyNameSet
from the given DAV:prop
element.
propElement
-
IllegalArgumentException
- if the specified element is null
or is not a DAV:prop element.Method Detail |
public boolean add(DavPropertyName propertyName)
DavPropertyName
object to this
set if it is not already present.
propertyName
- element to be added to this set.
public boolean add(Object o)
DavPropertyName
this method returns false.
o
-
add(DavPropertyName)
public org.jdom.Element toXml()
<!ELEMENT prop (ANY) > where ANY consists of a list of elements each reflecting the xml representation of an entry in this set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |