|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lenya.cms.publication.DocumentSet
public class DocumentSet
A set of documents.
Constructor Summary | |
---|---|
DocumentSet()
Ctor. |
|
DocumentSet(Document[] documents)
Ctor. |
Method Summary | |
---|---|
void |
add(Document document)
Adds a document to this set. |
Document[] |
getDocuments()
Returns the documents contained in this set. |
boolean |
isEmpty()
Checks if this set is empty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentSet()
public DocumentSet(Document[] documents)
documents
- The initial documents.Method Detail |
---|
public Document[] getDocuments()
public void add(Document document)
document
- The document to add.public boolean isEmpty()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |