|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.property.PropContainer
public abstract class PropContainer
PropContainer
...
Field Summary |
---|
Constructor Summary | |
---|---|
PropContainer()
|
Method Summary | |
---|---|
abstract boolean |
addContent(Object contentEntry)
Tries to add the specified object to the PropContainer and
returns a boolean indicating whether the content could be added to the
internal set/map. |
abstract boolean |
contains(DavPropertyName name)
Returns true if this PropContainer contains a content element
that matches the given DavPropertyName . |
abstract Collection |
getContent()
Returns the collection that contains all the content elements of this PropContainer . |
abstract int |
getContentSize()
Returns the number of property related content elements that are present in this PropContainer . |
abstract boolean |
isEmpty()
Returns true if the PropContainer does not yet contain any content elements. |
Element |
toXml(Document document)
Returns the xml representation of a property related set with the following format: <! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropContainer()
Method Detail |
---|
public abstract boolean addContent(Object contentEntry)
PropContainer
and
returns a boolean indicating whether the content could be added to the
internal set/map.
contentEntry
-
public abstract boolean isEmpty()
public abstract int getContentSize()
PropContainer
.
public abstract Collection getContent()
PropContainer
.
PropContainer
.public abstract boolean contains(DavPropertyName name)
PropContainer
contains a content element
that matches the given DavPropertyName
.
name
-
public Element toXml(Document document)
<!ELEMENT prop (ANY) >
where ANY consists of a list of elements each reflecting the xml
representation of the entries returned by getContent()
.
toXml
in interface XmlSerializable
document
- to be used as factory.
XmlSerializable.toXml(Document)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |