Package writer2latex.xmerge
Class EmbeddedObject
- java.lang.Object
-
- writer2latex.xmerge.EmbeddedObject
-
- Direct Known Subclasses:
EmbeddedBinaryObject
,EmbeddedXMLObject
public abstract class EmbeddedObject extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description EmbeddedObject(java.lang.String name, java.lang.String type)
Constructor for an embedded object stored using an XML representation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-
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 theMETA-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. TheMETA-INF/manifest.xml
file currently represents the type of an object using MIME types.
-
-