LibreOffice Module xmerge (master) 1
Public Member Functions | Private Attributes | List of all members
org.openoffice.xmerge.ConvertData Class Reference

ConvertData is used as a container for passing Document objects in and out of the Convert class. More...

Collaboration diagram for org.openoffice.xmerge.ConvertData:
[legend]

Public Member Functions

void reset ()
 Resets ConvertData. More...
 
String getName ()
 Returns the Document name. More...
 
void setName (String docName)
 Sets the Document name. More...
 
void addDocument (Document doc)
 Adds a Document to the vector. More...
 
Iterator< Object > getDocumentEnumeration ()
 Gets an Enumeration to access the Vector of Document objects. More...
 
int getNumDocuments ()
 Gets the number of Document objects currently stored. More...
 

Private Attributes

final ArrayList< Object > v = new ArrayList<Object>()
 Vector of Document objects. More...
 
String name
 Name of the ConvertData object. More...
 

Detailed Description

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.

Definition at line 31 of file ConvertData.java.

Member Function Documentation

◆ addDocument()

void org.openoffice.xmerge.ConvertData.addDocument ( Document  doc)
inline

◆ getDocumentEnumeration()

Iterator< Object > org.openoffice.xmerge.ConvertData.getDocumentEnumeration ( )
inline

◆ getName()

String org.openoffice.xmerge.ConvertData.getName ( )
inline

Returns the Document name.

Returns
The Document name.

Definition at line 59 of file ConvertData.java.

References org.openoffice.xmerge.ConvertData.name, and String.

◆ getNumDocuments()

int org.openoffice.xmerge.ConvertData.getNumDocuments ( )
inline

Gets the number of Document objects currently stored.

Returns
The number of Document objects currently stored.

Definition at line 98 of file ConvertData.java.

References org.openoffice.xmerge.ConvertData.v.

◆ reset()

void org.openoffice.xmerge.ConvertData.reset ( )
inline

Resets ConvertData.

This empties all Document objects from this class. This allows reuse of a ConvertData.

Definition at line 49 of file ConvertData.java.

References org.openoffice.xmerge.ConvertData.name, and org.openoffice.xmerge.ConvertData.v.

Referenced by org.openoffice.xmerge.Convert.reset().

◆ setName()

void org.openoffice.xmerge.ConvertData.setName ( String  docName)
inline

Sets the Document name.

Parameters
docNameThe name of the Document.

Definition at line 68 of file ConvertData.java.

References org.openoffice.xmerge.ConvertData.name.

Member Data Documentation

◆ name

String org.openoffice.xmerge.ConvertData.name
private

◆ v

final ArrayList<Object> org.openoffice.xmerge.ConvertData.v = new ArrayList<Object>()
private

The documentation for this class was generated from the following file: