|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.ConvertData
ConvertData
is used as a container for passing
Document
objects in and out of the Convert
class. The ConvertData
contains a String
name and a Vector
of Document
objects.
Constructor Summary | |
ConvertData()
|
Method Summary | |
void |
addDocument(Document doc)
Adds a Document to the vector. |
java.util.Enumeration |
getDocumentEnumeration()
Gets an Enumeration to access the Vector
of Document objects. |
java.lang.String |
getName()
Returns the Document name. |
int |
getNumDocuments()
Gets the number of Document objects currently stored |
void |
reset()
Resets ConvertData. |
void |
setName(java.lang.String docName)
Sets the Document name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConvertData()
Method Detail |
public void addDocument(Document doc)
Document
to the vector.doc
- The Document
to add.public java.util.Enumeration getDocumentEnumeration()
Enumeration
to access the Vector
of Document
objects.Enumeration
to access the
Vector
of Document
objects.public java.lang.String getName()
Document
name.Document
name.public int getNumDocuments()
Document
objects currently storedDocument
objects currently
stored.public void reset()
Document
objects from this class. This allows reuse of a
ConvertData
.public void setName(java.lang.String docName)
Document
name.docName
- The name of the Document
.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |