VisiBroker for Java

org.omg.CosNotifyFilter
Interface FilterFactoryOperations

All Known Subinterfaces:
FilterFactory

public interface FilterFactoryOperations

The FilterFactory interface defines operations for creating filter objects.


Method Summary
 Filter create_filter(java.lang.String constraint_grammar)
          The create_filter operation is responsible for creating a new forwarding filter object.
 MappingFilter create_mapping_filter(java.lang.String constraint_grammar, Any default_value)
          The create_mapping_filter operation is responsible for creating a new mapping filter object.
 

Method Detail

create_mapping_filter

MappingFilter create_mapping_filter(java.lang.String constraint_grammar,
                                    Any default_value)
                                    throws InvalidGrammar
The create_mapping_filter operation is responsible for creating a new mapping filter object.

Parameters:
constraint_grammar - A string parameter, which identifies the grammar in which constraints associated with this filter will have meaning.
default_value - An Any which will be set as the default_value of the newly created mapping filter.
Returns:
The reference to an object supporting the MappingFilter interface, which can subsequently be configured to support constraints in the appropriate grammar, along with their associated mapping values.
Throws:
InvalidGrammar - If the client invoking this operation supplies as input the name of a grammar that is not supported by any mapping filter implementation this factory is capable of creating.

create_filter

Filter create_filter(java.lang.String constraint_grammar)
                     throws InvalidGrammar
The create_filter operation is responsible for creating a new forwarding filter object.

Parameters:
constraint_grammar - A string parameter which identifies the grammar in which constraints associated with this filter will have meaning.
Returns:
The reference to an object supporting the Filter interface, which can subsequently be configured to support constraints in the appropriate grammar.
Throws:
InvalidGrammar - If the client invoking this operation supplies as input the name of a grammar that is not supported by any forwarding filter implementation this factory is capable of creating.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online