Package writer2latex.xmerge
Class EmbeddedObject
java.lang.Object
writer2latex.xmerge.EmbeddedObject
- Direct Known Subclasses:
EmbeddedBinaryObject
,EmbeddedXMLObject
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedObject
(String name, String type) Constructor for an embedded object stored using an XML representation. -
Method Summary
-
Field Details
-
objName
-
objType
-
zipFile
protected writer2latex.xmerge.OfficeZip zipFileRepresentation of the file from which this object was read. -
hasChanged
protected boolean hasChangedFlag indicating if this document has changed since reading or is new.
-
-
Constructor Details
-
EmbeddedObject
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 Details
-
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
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.
-