Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15
OOoRunner test harness

basicrunner.basichelper
Class Filter

basicrunner.basichelper.Filter

public class Filter

Provides an implementation of XFilter.

See Also:
com.sun.star.document.XFilter, com.sun.star.lang.XServiceInfo, XSingleServiceFactory

Constructor Summary
Filter()
          Construct a new filter
 
Method Summary
 Object createInstance()
          Returns an instance of the filter.
 Object createInstanceWithArguments(Object[] args)
          Returns an instance of the filter.
 byte[] getImplementationId()
          Get a unique id for this implementation.
 String getImplementationName()
          Get the implementation name of this class.
 String[] getSupportedServiceNames()
          Get all supported service names.
 Type[] getTypes()
          Return all implemented types of this class.
 boolean supportsService(String name)
          Is this servioce supported?
 

Constructor Detail

Filter

public Filter()
Construct a new filter
Method Detail

createInstanceWithArguments

public Object createInstanceWithArguments(Object[] args)
Returns an instance of the filter. Arguments are not supported here and will be ignored.
Parameters:
args - The arguments.
Returns:
The filter.

createInstance

public Object createInstance()
Returns an instance of the filter.
Returns:
The filter.

getImplementationId

public byte[] getImplementationId()
Get a unique id for this implementation.
Returns:
The id.

getTypes

public Type[] getTypes()
Return all implemented types of this class.
Returns:
The implemented UNO types.

supportsService

public boolean supportsService(String name)
Is this servioce supported?
Parameters:
name - The service name.
Returns:
True, if the service is supported.

getSupportedServiceNames

public String[] getSupportedServiceNames()
Get all supported service names.
Returns:
All supported servcices.

getImplementationName

public String getImplementationName()
Get the implementation name of this class.
Returns:
The implementation name.

OOoRunner test harness

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.