Package writer2latex.xmerge
Class EmbeddedBinaryObject
java.lang.Object
writer2latex.xmerge.EmbeddedObject
writer2latex.xmerge.EmbeddedBinaryObject
This class represents embedded object's in an OpenOffice.org document that
have a binary representation.
-
Field Summary
FieldsFields inherited from class writer2latex.xmerge.EmbeddedObject
hasChanged, objName, objType, zipFile -
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedBinaryObject(String name, String type) Constructor for an embedded object stored using an XML representation. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]This method returns the data for this object.voidsetBinaryData(byte[] data) Sets the data for this object.Methods inherited from class writer2latex.xmerge.EmbeddedObject
getName, getType
-
Field Details
-
objData
protected byte[] objDataThe object's binary representation.
-
-
Constructor Details
-
EmbeddedBinaryObject
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
-
getBinaryData
public byte[] getBinaryData()This method returns the data for this object.- Returns:
- A
bytearray containing the object's data.
-
setBinaryData
public void setBinaryData(byte[] data) Sets the data for this object.- Parameters:
data- Abytearray containing data for the object.
-