org.jacorb.notification.filter
Interface ETCLEvaluator

All Known Implementing Classes:
DefaultETCLEvaluator

public interface ETCLEvaluator

Version:
$Id: ETCLEvaluator.java,v 1.1 2005/02/14 00:04:35 alphonse.bendt Exp $
Author:
Alphonse Bendt

Method Summary
 org.omg.CORBA.Any evaluateArrayIndex(org.omg.CORBA.Any any, int index)
          extract the n-th position out of an Array wrapped inside an Any.
 org.omg.CORBA.Any evaluateDiscriminator(org.omg.CORBA.Any any)
           
 EvaluationResult evaluateElementInSequence(EvaluationContext context, EvaluationResult element, org.omg.CORBA.Any sequence)
           
 org.omg.CORBA.Any evaluateExistIdentifier(org.omg.CORBA.Any value, java.lang.String identifier)
           
 org.omg.CORBA.Any evaluateIdentifier(org.omg.CORBA.Any any, int position)
           
 org.omg.CORBA.Any evaluateIdentifier(org.omg.CORBA.Any any, java.lang.String identifier)
          expensive
 org.omg.CORBA.Any evaluateListLength(org.omg.CORBA.Any value)
          identify the number of elements of a component.
 org.omg.CORBA.Any evaluateNamedValueList(org.omg.CORBA.Any any, java.lang.String name)
          extract a named value out of a sequence of name/value pairs.
 org.omg.CORBA.Any evaluatePropertyList(Property[] list, java.lang.String name)
           
 org.omg.CORBA.Any evaluateRepositoryId(org.omg.CORBA.Any value)
          identify the RepositoryId of a component.
 org.omg.CORBA.Any evaluateTypeName(org.omg.CORBA.Any value)
          identify the unscoped IDL type name of a component.
 org.omg.CORBA.Any evaluateUnion(org.omg.CORBA.Any value)
          extract the default member from Union wrapped inside the provided Any.
 org.omg.CORBA.Any evaluateUnion(org.omg.CORBA.Any value, int position)
           
 boolean hasDefaultDiscriminator(org.omg.CORBA.Any any)
           
 

Method Detail

hasDefaultDiscriminator

boolean hasDefaultDiscriminator(org.omg.CORBA.Any any)
                                throws EvaluationException
Throws:
EvaluationException

evaluateExistIdentifier

org.omg.CORBA.Any evaluateExistIdentifier(org.omg.CORBA.Any value,
                                          java.lang.String identifier)
                                          throws EvaluationException
Throws:
EvaluationException

evaluateTypeName

org.omg.CORBA.Any evaluateTypeName(org.omg.CORBA.Any value)
                                   throws EvaluationException
identify the unscoped IDL type name of a component. (e.g. mystruct._typeid == 'mystruct')

Parameters:
value - the component
Returns:
the IDL type name (string) wrapped in an any
Throws:
EvaluationException

evaluateRepositoryId

org.omg.CORBA.Any evaluateRepositoryId(org.omg.CORBA.Any value)
                                       throws EvaluationException
identify the RepositoryId of a component. (e.g. mystruct._repos_id == 'IDL:module/mystruct:1.0'

Parameters:
value - the component
Returns:
the IDL type name (string) wrapped in an any
Throws:
EvaluationException

evaluateListLength

org.omg.CORBA.Any evaluateListLength(org.omg.CORBA.Any value)
                                     throws EvaluationException
identify the number of elements of a component. if the parameter is a sequence or an array, this method will return the number of elements in the list.

Parameters:
value - the component
Returns:
the number of elements in the list
Throws:
EvaluationException

evaluateUnion

org.omg.CORBA.Any evaluateUnion(org.omg.CORBA.Any value)
                                throws EvaluationException
extract the default member from Union wrapped inside the provided Any.

Throws:
EvaluationException

evaluateUnion

org.omg.CORBA.Any evaluateUnion(org.omg.CORBA.Any value,
                                int position)
                                throws EvaluationException
Throws:
EvaluationException

evaluatePropertyList

org.omg.CORBA.Any evaluatePropertyList(Property[] list,
                                       java.lang.String name)

evaluateNamedValueList

org.omg.CORBA.Any evaluateNamedValueList(org.omg.CORBA.Any any,
                                         java.lang.String name)
                                         throws EvaluationException
extract a named value out of a sequence of name/value pairs.

Throws:
EvaluationException

evaluateArrayIndex

org.omg.CORBA.Any evaluateArrayIndex(org.omg.CORBA.Any any,
                                     int index)
                                     throws EvaluationException
extract the n-th position out of an Array wrapped inside an Any.

Throws:
EvaluationException

evaluateIdentifier

org.omg.CORBA.Any evaluateIdentifier(org.omg.CORBA.Any any,
                                     int position)
                                     throws EvaluationException
Throws:
EvaluationException

evaluateDiscriminator

org.omg.CORBA.Any evaluateDiscriminator(org.omg.CORBA.Any any)
                                        throws EvaluationException
Throws:
EvaluationException

evaluateElementInSequence

EvaluationResult evaluateElementInSequence(EvaluationContext context,
                                           EvaluationResult element,
                                           org.omg.CORBA.Any sequence)
                                           throws EvaluationException
Throws:
EvaluationException

evaluateIdentifier

org.omg.CORBA.Any evaluateIdentifier(org.omg.CORBA.Any any,
                                     java.lang.String identifier)
                                     throws EvaluationException
expensive

Throws:
EvaluationException