writer2latex.xmerge
Class EmbeddedObject

java.lang.Object
  extended by writer2latex.xmerge.EmbeddedObject
Direct Known Subclasses:
EmbeddedBinaryObject, EmbeddedXMLObject

public abstract class EmbeddedObject
extends java.lang.Object


Field Summary
protected  boolean hasChanged
          Flag indicating if this document has changed since reading or is new.
protected  java.lang.String objName
           
protected  java.lang.String objType
           
protected  writer2latex.xmerge.OfficeZip zipFile
          Representation of the file from which this object was read.
 
Constructor Summary
EmbeddedObject(java.lang.String name, java.lang.String type)
          Constructor for an embedded object stored using an XML representation.
 
Method Summary
 java.lang.String getName()
          Retrieves the name of the embedded object represented by an instance of this class.
 java.lang.String getType()
          Retrieves the type of the embedded object represented by an instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objName

protected java.lang.String objName

objType

protected java.lang.String objType

zipFile

protected writer2latex.xmerge.OfficeZip zipFile
Representation of the file from which this object was read.


hasChanged

protected boolean hasChanged
Flag indicating if this document has changed since reading or is new.

Constructor Detail

EmbeddedObject

public EmbeddedObject(java.lang.String name,
                      java.lang.String type)
Constructor for an embedded object stored using an XML representation.

Parameters:
name - The name of the object.
type - The mime-type of the object. See the class summary.
Method Detail

getName

public final java.lang.String getName()
Retrieves the name of the embedded object represented by an instance of this class. N.B.The name referes to the name as found in the META-INF/manifest.xml file.

Returns:
The name of the object.

getType

public final java.lang.String getType()
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.