|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.da.comp.w2lcommon.filter.ExportFilterBase
public abstract class ExportFilterBase
This class provides an abstract uno component which implements an XExportFilter. The filter is actually generic and only then constructor and 3 strings needs to changed by the subclass.
Field Summary | |
---|---|
static java.lang.String |
__displayName
Filter name to include in error messages |
static java.lang.String |
__implementationName
Implementation name for the component |
static java.lang.String |
__serviceName
Service name for the component |
protected static XMultiServiceFactory |
xMSF
|
Constructor Summary | |
---|---|
ExportFilterBase(XComponentContext xComponentContext1)
We need to get the Service Manager from the Component context to instantiate certain services, hence this constructor. |
Method Summary | |
---|---|
void |
characters(java.lang.String str)
|
void |
convert(com.sun.star.io.XInputStream xml,
com.sun.star.io.XOutputStream exportStream)
|
void |
endDocument()
|
void |
endElement(java.lang.String str)
|
boolean |
exporter(com.sun.star.beans.PropertyValue[] aSourceData,
java.lang.String[] msUserData)
|
byte[] |
getImplementationId()
|
java.lang.String |
getImplementationName()
|
java.lang.String |
getServiceName()
|
java.lang.String[] |
getSupportedServiceNames()
|
com.sun.star.uno.Type[] |
getTypes()
|
void |
ignorableWhitespace(java.lang.String str)
|
java.lang.String |
needsMask(java.lang.String origString)
|
void |
processingInstruction(java.lang.String aTarget,
java.lang.String aData)
|
java.lang.String |
replace(java.lang.String origString,
java.lang.String origChar,
java.lang.String replaceChar)
|
void |
setDocumentLocator(com.sun.star.xml.sax.XLocator xLocator)
|
void |
startDocument()
|
void |
startElement(java.lang.String str,
com.sun.star.xml.sax.XAttributeList xattribs)
|
boolean |
supportsService(java.lang.String stringServiceName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __serviceName
public static final java.lang.String __implementationName
public static final java.lang.String __displayName
protected static XMultiServiceFactory xMSF
Constructor Detail |
---|
public ExportFilterBase(XComponentContext xComponentContext1)
Method Detail |
---|
public java.lang.String replace(java.lang.String origString, java.lang.String origChar, java.lang.String replaceChar)
public java.lang.String needsMask(java.lang.String origString)
public boolean exporter(com.sun.star.beans.PropertyValue[] aSourceData, java.lang.String[] msUserData) throws com.sun.star.uno.RuntimeException
com.sun.star.uno.RuntimeException
public void startDocument()
public void endDocument() throws com.sun.star.uno.RuntimeException
com.sun.star.uno.RuntimeException
public void startElement(java.lang.String str, com.sun.star.xml.sax.XAttributeList xattribs)
public void endElement(java.lang.String str)
public void characters(java.lang.String str)
public void ignorableWhitespace(java.lang.String str)
public void processingInstruction(java.lang.String aTarget, java.lang.String aData)
public void setDocumentLocator(com.sun.star.xml.sax.XLocator xLocator)
public void convert(com.sun.star.io.XInputStream xml, com.sun.star.io.XOutputStream exportStream) throws com.sun.star.uno.RuntimeException, java.io.IOException
com.sun.star.uno.RuntimeException
java.io.IOException
public com.sun.star.uno.Type[] getTypes()
public byte[] getImplementationId()
public java.lang.String getServiceName()
public boolean supportsService(java.lang.String stringServiceName)
public java.lang.String getImplementationName()
public java.lang.String[] getSupportedServiceNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |