writer2latex.xmerge
Class EmbeddedObject
java.lang.Object
writer2latex.xmerge.EmbeddedObject
public abstract class EmbeddedObject
extends java.lang.Object
The Contents of this file are made available subject to the terms of
- GNU Lesser General Public License Version 2.1
Sun Microsystems Inc., October, 2000
GNU Lesser General Public License Version 2.1
=============================================
Copyright 2000 by Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, CA 94303, USA
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1, as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
The Initial Developer of the Original Code is: Sun Microsystems, Inc.
Copyright: 2000 by Sun Microsystems, Inc.
All Rights Reserved.
Contributor(s): _______________________________________
protected boolean | hasChanged - Flag indicating if this document has changed since reading or is new.
|
protected String | objName
|
protected String | objType
|
protected writer2latex.xmerge.OfficeZip | zipFile - Representation of the file from which this object was read.
|
EmbeddedObject(String name, String type) - Constructor for an embedded object stored using an XML representation.
|
String | getName() - Retrieves the name of the embedded object represented by an instance of
this class.
|
String | getType() - Retrieves the type of the embedded object represented by an instance of
this class.
|
hasChanged
protected boolean hasChanged
Flag indicating if this document has changed since reading or is new.
objName
protected String objName
objType
protected String objType
zipFile
protected writer2latex.xmerge.OfficeZip zipFile
Representation of the file from which this object was read.
EmbeddedObject
public EmbeddedObject(String name,
String type)
Constructor for an embedded object stored using an XML representation.
name
- The name of the object.type
- The mime-type of the object. See the class summary.
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.
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.