|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.util.registry.ConverterInfo
Class for storing the information about a converter plugin.
Field Summary | |
static java.lang.String |
SxcType
|
static java.lang.String |
SxwType
|
Constructor Summary | |
ConverterInfo(java.lang.String jarName,
java.lang.String officeMime,
java.util.Vector deviceMime,
java.lang.String displayName,
java.lang.String description,
java.lang.String version,
java.lang.String vendor,
java.lang.String impl)
The constructor builds a ConverterInfo structure. |
|
ConverterInfo(java.lang.String jarName,
java.lang.String officeMime,
java.util.Vector deviceMime,
java.lang.String displayName,
java.lang.String description,
java.lang.String version,
java.lang.String vendor,
java.lang.String impl,
java.lang.String xsltSerial,
java.lang.String xsltDeserial)
The constructor builds a ConverterInfo structure. |
Method Summary | |
boolean |
canDeserialize()
Returns true if this plug-in has a deserializier, false otherwise. |
boolean |
canMerge()
Returns true if this plug-in has a merger, false otherwise. |
boolean |
canSerialize()
Returns true if this plug-in has a serializier, false otherwise. |
java.lang.String |
getClassImpl()
Returns the implementation class name of PluginFactory. |
java.lang.String |
getDescription()
Returns the description. |
java.util.Enumeration |
getDeviceMime()
Returns an Enumeration of String
objects indicating the device mime-type. |
java.lang.String |
getDisplayName()
Returns the display name. |
DocumentDeserializerFactory |
getDocDeserializerFactory()
Returns an instance of the DocumentSerializerFactory interface. |
DocumentMergerFactory |
getDocMergerFactory()
Returns an instance of the DocumentMergerFactory interface. |
DocumentSerializerFactory |
getDocSerializerFactory()
Returns an instance of the DocumentDeserializerFactory interface. |
java.lang.String |
getJarName()
Returns the jar file name. |
java.lang.String |
getOfficeMime()
Returns the office mime-type. |
PluginFactory |
getPluginFactory()
Returns the PluginFactory instance for this plug-in. |
java.lang.String |
getVendor()
Returns the vendor name. |
java.lang.String |
getVersion()
Returns the version. |
java.lang.String |
getXsltDeserial()
Returns a String containing the xslt stylesheet url that
is to be used by the Xslt Plugin Deserializer. |
java.lang.String |
getXsltSerial()
Returns a String containing the Xslt stylesheet url that
is to be used by the Xslt Plugin Serializer. |
static boolean |
isValidOfficeType(java.lang.String officeMime)
Returns true if the officeMime is a valid Office mime type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String SxcType
public static java.lang.String SxwType
Constructor Detail |
public ConverterInfo(java.lang.String jarName, java.lang.String officeMime, java.util.Vector deviceMime, java.lang.String displayName, java.lang.String description, java.lang.String version, java.lang.String vendor, java.lang.String impl) throws RegistryException
jarName
- The URL of the jarfile.officeMime
- The office mime-type.deviceMime
- The device mime-type.displayName
- The display name.description
- The description.version
- The version.vendor
- The vendor name.impl
- The implementation class name of
PluginFactory.RegistryException
- If ci
cannot
be loaded.public ConverterInfo(java.lang.String jarName, java.lang.String officeMime, java.util.Vector deviceMime, java.lang.String displayName, java.lang.String description, java.lang.String version, java.lang.String vendor, java.lang.String impl, java.lang.String xsltSerial, java.lang.String xsltDeserial) throws RegistryException
jarName
- The URL of the jarfile.officeMime
- The office mime-type.deviceMime
- The device mime-type.displayName
- The display name.description
- The description.version
- The version.vendor
- The vendor name.impl
- The implementation class name of
PluginFactory.xsltSerial
- The url of the serializer xsl stylesheetxsltDeserial
- The url of the deserializer xsl stylesheetRegistryException
- If ci
cannot
be loaded.Method Detail |
public boolean canDeserialize()
public boolean canMerge()
public boolean canSerialize()
public java.lang.String getClassImpl()
public java.lang.String getDescription()
public java.util.Enumeration getDeviceMime()
Enumeration
of String
objects indicating the device mime-type.Enumeration
of String
objects indicating the device mime-type.public java.lang.String getDisplayName()
public DocumentDeserializerFactory getDocDeserializerFactory()
public DocumentMergerFactory getDocMergerFactory()
public DocumentSerializerFactory getDocSerializerFactory()
public java.lang.String getJarName()
public java.lang.String getOfficeMime()
public PluginFactory getPluginFactory()
public java.lang.String getVendor()
public java.lang.String getVersion()
public java.lang.String getXsltDeserial()
String
containing the xslt stylesheet url that
is to be used by the Xslt Plugin Deserializer.String
public java.lang.String getXsltSerial()
String
containing the Xslt stylesheet url that
is to be used by the Xslt Plugin Serializer.String
public static boolean isValidOfficeType(java.lang.String officeMime)
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |