public class DefaultETCLEvaluator extends Object implements ETCLEvaluator
Constructor and Description |
---|
DefaultETCLEvaluator(ORB orb,
Configuration config,
DynAnyFactory dynAnyFactory) |
Modifier and Type | Method and Description |
---|---|
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,
String identifier) |
Any |
evaluateIdentifier(Any any,
int position) |
Any |
evaluateIdentifier(Any any,
String identifier)
expensive
|
Any |
evaluateListLength(Any value)
identify the number of elements of a component.
|
Any |
evaluateNamedValueList(Any any,
String name)
extract a named value out of a sequence of name/value pairs.
|
Any |
evaluatePropertyList(Property[] list,
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) |
public DefaultETCLEvaluator(ORB orb, Configuration config, DynAnyFactory dynAnyFactory)
public boolean hasDefaultDiscriminator(Any any) throws EvaluationException
hasDefaultDiscriminator
in interface ETCLEvaluator
EvaluationException
public Any evaluateExistIdentifier(Any value, String identifier) throws EvaluationException
evaluateExistIdentifier
in interface ETCLEvaluator
EvaluationException
public Any evaluateTypeName(Any value) throws EvaluationException
ETCLEvaluator
evaluateTypeName
in interface ETCLEvaluator
value
- the componentEvaluationException
public Any evaluateRepositoryId(Any value) throws EvaluationException
ETCLEvaluator
evaluateRepositoryId
in interface ETCLEvaluator
value
- the componentEvaluationException
public Any evaluateListLength(Any value) throws EvaluationException
ETCLEvaluator
evaluateListLength
in interface ETCLEvaluator
value
- the componentEvaluationException
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, String name)
evaluatePropertyList
in interface ETCLEvaluator
public Any evaluateNamedValueList(Any any, 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, String identifier) throws EvaluationException
evaluateIdentifier
in interface ETCLEvaluator
EvaluationException
Copyright © 2016 JacORB. All rights reserved.