Class EmbeddedObject

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

public abstract class EmbeddedObject extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
    Flag indicating if this document has changed since reading or is new.
    protected String
     
    protected String
     
    protected writer2latex.xmerge.OfficeZip
    Representation of the file from which this object was read.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for an embedded object stored using an XML representation.
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
    Retrieves the name of the embedded object represented by an instance of this class.
    final String
    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 Details

    • objName

      protected String objName
    • objType

      protected 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 Details

    • EmbeddedObject

      public EmbeddedObject(String name, 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 Details

    • getName

      public final 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 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.