LibreOffice Module xmerge (master)  1
Public Member Functions | Protected Attributes | List of all members
org.openoffice.xmerge.converter.xml.EmbeddedObject Class Referenceabstract
Inheritance diagram for org.openoffice.xmerge.converter.xml.EmbeddedObject:
[legend]
Collaboration diagram for org.openoffice.xmerge.converter.xml.EmbeddedObject:
[legend]

Public Member Functions

 EmbeddedObject (String name, String type)
 Constructor for an embedded object stored using an XML representation. More...
 
final String getName ()
 Retrieves the name of the embedded object represented by an instance of this class. More...
 
final String getType ()
 Retrieves the type of the embedded object represented by an instance of this class. More...
 

Protected Attributes

String objName
 
String objType
 
OfficeZip zipFile = null
 Representation of the file from which this object was read. More...
 
boolean hasChanged = false
 Flag indicating if this document has changed since reading or is new. More...
 

Detailed Description

Definition at line 26 of file EmbeddedObject.java.

Constructor & Destructor Documentation

org.openoffice.xmerge.converter.xml.EmbeddedObject.EmbeddedObject ( String  name,
String  type 
)
inline

Constructor for an embedded object stored using an XML representation.

Parameters
nameThe name of the object.
typeThe mime-type of the object. See the class summary.

Definition at line 42 of file EmbeddedObject.java.

Member Function Documentation

final String org.openoffice.xmerge.converter.xml.EmbeddedObject.getName ( )
inline

Retrieves the name of the embedded object represented by an instance of this class.

N.B.The name refers to the name as found in the

META-INF/manifest.xml

file.

Returns
The name of the object.

Definition at line 72 of file EmbeddedObject.java.

References org.openoffice.xmerge.converter.xml.EmbeddedObject.objName, and String.

final String org.openoffice.xmerge.converter.xml.EmbeddedObject.getType ( )
inline

Retrieves the type of the embedded object represented by an instance of this class.

The

META-INF/manifest.xml

file currently represents the type of an object using MIME types.

Definition at line 83 of file EmbeddedObject.java.

References org.openoffice.xmerge.converter.xml.EmbeddedObject.objType, and String.

Member Data Documentation

boolean org.openoffice.xmerge.converter.xml.EmbeddedObject.hasChanged = false
protected
String org.openoffice.xmerge.converter.xml.EmbeddedObject.objName
protected
String org.openoffice.xmerge.converter.xml.EmbeddedObject.objType
protected
OfficeZip org.openoffice.xmerge.converter.xml.EmbeddedObject.zipFile = null
protected

Representation of the file from which this object was read.

Definition at line 31 of file EmbeddedObject.java.

Referenced by org.openoffice.xmerge.converter.xml.EmbeddedBinaryObject.getBinaryData(), and org.openoffice.xmerge.converter.xml.EmbeddedXMLObject.getNamedDOM().


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