LibreOffice Module xmerge (master) 1
|
ConvertData
is used as a container for passing Document
objects in and out of the Convert
class.
More...
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... | |
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.
|
inline |
Adds a Document
to the vector.
doc | The Document to add. |
Definition at line 77 of file ConvertData.java.
References org.openoffice.xmerge.ConvertData.v.
Referenced by org.openoffice.xmerge.Convert.addInputStream(), org.openoffice.xmerge.Convert.convert(), and org.openoffice.xmerge.converter.xml.xslt.DocumentSerializerImpl.serialize().
|
inline |
Gets an Enumeration
to access the Vector
of Document
objects.
Enumeration
to access the Vector
of Document
objects. Definition at line 88 of file ConvertData.java.
References org.openoffice.xmerge.ConvertData.v.
Referenced by org.openoffice.xmerge.Convert.convert(), XMergeBridge._XMergeBridge.convert(), org.openoffice.xmerge.util.ActiveSyncDriver.Convert(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.deserialize(), and org.openoffice.xmerge.test.Driver.doConversion().
|
inline |
Returns the Document
name.
Document
name. Definition at line 59 of file ConvertData.java.
References org.openoffice.xmerge.ConvertData.name, and String.
|
inline |
Gets the number of Document
objects currently stored.
Document
objects currently stored. Definition at line 98 of file ConvertData.java.
References org.openoffice.xmerge.ConvertData.v.
|
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().
|
inline |
Sets the Document
name.
docName | The name of the Document . |
Definition at line 68 of file ConvertData.java.
References org.openoffice.xmerge.ConvertData.name.
|
private |
Name of the ConvertData
object.
Definition at line 41 of file ConvertData.java.
Referenced by org.openoffice.xmerge.ConvertData.getName(), org.openoffice.xmerge.ConvertData.reset(), and org.openoffice.xmerge.ConvertData.setName().
|
private |
Vector of Document
objects.
Definition at line 36 of file ConvertData.java.
Referenced by org.openoffice.xmerge.ConvertData.addDocument(), org.openoffice.xmerge.ConvertData.getDocumentEnumeration(), org.openoffice.xmerge.ConvertData.getNumDocuments(), and org.openoffice.xmerge.ConvertData.reset().