|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacorb.notification.filter.impl.DefaultETCLEvaluator
Provide the Basic operations needed to evaluate filter expressions on Anys.
Constructor Summary | |
---|---|
DefaultETCLEvaluator(org.apache.avalon.framework.configuration.Configuration config,
DynAnyFactory dynAnyFactory)
|
Method Summary | |
---|---|
Any |
evaluateArrayIndex(Any any,
int index)
extract the n-th position out of an Array wrapped inside an Any. |
Any |
evaluateDiscriminator(Any any)
|
EvaluationResult |
evaluateElementInSequence(EvaluationContext context,
EvaluationResult element,
Any sequence)
|
Any |
evaluateExistIdentifier(Any value,
java.lang.String identifier)
|
Any |
evaluateIdentifier(Any any,
int position)
|
Any |
evaluateIdentifier(Any any,
java.lang.String identifier)
expensive |
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. |
Any |
evaluateNamedValueList(Any any,
java.lang.String name)
extract a named value out of a sequence of name/value pairs. |
Any |
evaluatePropertyList(Property[] list,
java.lang.String name)
|
Any |
evaluateRepositoryId(Any value)
identify the RepositoryId of a component. |
Any |
evaluateTypeName(Any value)
identify the unscoped IDL type name of a component. |
Any |
evaluateUnion(Any value)
extract the default member from Union wrapped inside the provided Any. |
Any |
evaluateUnion(Any value,
int position)
|
boolean |
hasDefaultDiscriminator(Any any)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultETCLEvaluator(org.apache.avalon.framework.configuration.Configuration config, DynAnyFactory dynAnyFactory)
Method Detail |
public boolean hasDefaultDiscriminator(Any any) throws EvaluationException
hasDefaultDiscriminator
in interface ETCLEvaluator
EvaluationException
public Any evaluateExistIdentifier(Any value, java.lang.String identifier) throws EvaluationException
evaluateExistIdentifier
in interface ETCLEvaluator
EvaluationException
public Any evaluateTypeName(Any value) throws EvaluationException
ETCLEvaluator
evaluateTypeName
in interface ETCLEvaluator
value
- the component
EvaluationException
public Any evaluateRepositoryId(Any value) throws EvaluationException
ETCLEvaluator
evaluateRepositoryId
in interface ETCLEvaluator
value
- the component
EvaluationException
public Any evaluateListLength(Any value) throws EvaluationException
ETCLEvaluator
evaluateListLength
in interface ETCLEvaluator
value
- the component
EvaluationException
public Any evaluateUnion(Any value) throws EvaluationException
ETCLEvaluator
evaluateUnion
in interface ETCLEvaluator
EvaluationException
public Any evaluateUnion(Any value, int position) throws EvaluationException
evaluateUnion
in interface ETCLEvaluator
EvaluationException
public Any evaluatePropertyList(Property[] list, java.lang.String name)
evaluatePropertyList
in interface ETCLEvaluator
public Any evaluateNamedValueList(Any any, java.lang.String name) throws EvaluationException
ETCLEvaluator
evaluateNamedValueList
in interface ETCLEvaluator
EvaluationException
public Any evaluateArrayIndex(Any any, int index) throws EvaluationException
ETCLEvaluator
evaluateArrayIndex
in interface ETCLEvaluator
EvaluationException
public Any evaluateIdentifier(Any any, int position) throws EvaluationException
evaluateIdentifier
in interface ETCLEvaluator
EvaluationException
public Any evaluateDiscriminator(Any any) throws EvaluationException
evaluateDiscriminator
in interface ETCLEvaluator
EvaluationException
public EvaluationResult evaluateElementInSequence(EvaluationContext context, EvaluationResult element, Any sequence) throws EvaluationException
evaluateElementInSequence
in interface ETCLEvaluator
EvaluationException
public Any evaluateIdentifier(Any any, java.lang.String identifier) throws EvaluationException
evaluateIdentifier
in interface ETCLEvaluator
EvaluationException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |