writer2latex.filter

Class W2XExportFilter._W2XExportFilter

public static class W2XExportFilter._W2XExportFilter extends Object implements XExportFilter, XServiceName, XServiceInfo, XDocumentHandler, XTypeProvider

This inner class provides the component as a concrete implementation of the service description. It implements the needed interfaces.

UNKNOWN: XTypeProvider

Constructor Summary
_W2XExportFilter(XComponentContext xComponentContext1)

We need to get the Service Manager from the Component context to instatiate certain services, hence this constructor.

Method Summary
voidcharacters(String str)
voidconvert(XInputStream xml, XOutputStream exportStream)
voidendDocument()
voidendElement(String str)
booleanexporter(PropertyValue[] aSourceData, String[] msUserData)
byte[]getImplementationId()
StringgetImplementationName()
StringgetServiceName()
String[]getSupportedServiceNames()
Type[]getTypes()
voidignorableWhitespace(String str)
StringneedsMask(String origString)
voidprocessingInstruction(String aTarget, String aData)
Stringreplace(String origString, String origChar, String replaceChar)
voidsetDocumentLocator(XLocator xLocator)
voidstartDocument()
voidstartElement(String str, XAttributeList xattribs)
booleansupportsService(String stringServiceName)

Constructor Detail

_W2XExportFilter

public _W2XExportFilter(XComponentContext xComponentContext1)

We need to get the Service Manager from the Component context to instatiate certain services, hence this constructor.

Method Detail

characters

public void characters(String str)

convert

public void convert(XInputStream xml, XOutputStream exportStream)

endDocument

public void endDocument()

endElement

public void endElement(String str)

exporter

public boolean exporter(PropertyValue[] aSourceData, String[] msUserData)

getImplementationId

public byte[] getImplementationId()

getImplementationName

public String getImplementationName()

getServiceName

public String getServiceName()

getSupportedServiceNames

public String[] getSupportedServiceNames()

getTypes

public Type[] getTypes()

ignorableWhitespace

public void ignorableWhitespace(String str)

needsMask

public String needsMask(String origString)

processingInstruction

public void processingInstruction(String aTarget, String aData)

replace

public String replace(String origString, String origChar, String replaceChar)

setDocumentLocator

public void setDocumentLocator(XLocator xLocator)

startDocument

public void startDocument()

startElement

public void startElement(String str, XAttributeList xattribs)

supportsService

public boolean supportsService(String stringServiceName)