org.jacorb.notification.filter

Interface ETCLEvaluator

public interface ETCLEvaluator

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

Author: Alphonse Bendt

Method Summary
AnyevaluateArrayIndex(Any any, int index)
extract the n-th position out of an Array wrapped inside an Any.
AnyevaluateDiscriminator(Any any)
EvaluationResultevaluateElementInSequence(EvaluationContext context, EvaluationResult element, Any sequence)
AnyevaluateExistIdentifier(Any value, String identifier)
AnyevaluateIdentifier(Any any, int position)
AnyevaluateIdentifier(Any any, String identifier)
expensive
AnyevaluateListLength(Any value)
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.
AnyevaluateNamedValueList(Any any, String name)
extract a named value out of a sequence of name/value pairs.
AnyevaluatePropertyList(Property[] list, String name)
AnyevaluateRepositoryId(Any value)
identify the RepositoryId of a component. (e.g. mystruct._repos_id == 'IDL:module/mystruct:1.0'
AnyevaluateTypeName(Any value)
identify the unscoped IDL type name of a component. (e.g. mystruct._typeid == 'mystruct')
AnyevaluateUnion(Any value)
extract the default member from Union wrapped inside the provided Any.
AnyevaluateUnion(Any value, int position)
booleanhasDefaultDiscriminator(Any any)

Method Detail

evaluateArrayIndex

public Any evaluateArrayIndex(Any any, int index)
extract the n-th position out of an Array wrapped inside an Any.

evaluateDiscriminator

public Any evaluateDiscriminator(Any any)

evaluateElementInSequence

public EvaluationResult evaluateElementInSequence(EvaluationContext context, EvaluationResult element, Any sequence)

evaluateExistIdentifier

public Any evaluateExistIdentifier(Any value, String identifier)

evaluateIdentifier

public Any evaluateIdentifier(Any any, int position)

evaluateIdentifier

public Any evaluateIdentifier(Any any, String identifier)
expensive

evaluateListLength

public Any evaluateListLength(Any value)
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

evaluateNamedValueList

public Any evaluateNamedValueList(Any any, String name)
extract a named value out of a sequence of name/value pairs.

evaluatePropertyList

public Any evaluatePropertyList(Property[] list, String name)

evaluateRepositoryId

public Any evaluateRepositoryId(Any value)
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

evaluateTypeName

public Any evaluateTypeName(Any value)
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

evaluateUnion

public Any evaluateUnion(Any value)
extract the default member from Union wrapped inside the provided Any.

evaluateUnion

public Any evaluateUnion(Any value, int position)

hasDefaultDiscriminator

public boolean hasDefaultDiscriminator(Any any)