Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.xrefs.expression.contexts
Interface IExpressionContext

All Known Implementing Classes:
CachingExpressionContextDecorator, CompoundExpressionContext, GlobalExpressionContext, OdiDataStoreExpressionContext, OdiProjectExpressionContext, SourceDataStoreExpressionContext

public interface IExpressionContext

Interface to be implemented by objects that are contexts of Expression.

Such context are able to provide SnpsExpressionTags for a given SnpsLanguage. An expression context is a context containing expression tags to be recognized during the parsing of an expression. Such tags should correspond to ODI objects (IOdiEntity for instance) that are in the scope of the expression, so within the scope of the expression holder.

That interface define a single method getSnpsExpressionTags(SnpsLanguage) that has to return expression tags according the context's behavior and scope.

This interface is mainly used by ExpressionStringParser in order to create Expression accordingly.

Since:
11.1.1.3.0
See Also:
SnpsLanguage, SnpsExpressionTag, ExpressionStringParser

Method Summary
 com.sunopsis.language.parser.SnpsExpressionTag[] getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
          Obtains the expression tags relative to this context.
 

Method Detail

getSnpsExpressionTags

com.sunopsis.language.parser.SnpsExpressionTag[] getSnpsExpressionTags(com.sunopsis.language.SnpsLanguage pSnpsLanguage)
                                                                       throws IllegalExpressionObjectException
Obtains the expression tags relative to this context.

Parameters:
pSnpsLanguage - the language that will be used when manipulating the expression tags (i.e. when building the Expression)
Returns:
an array of expression tags
Throws:
IllegalExpressionObjectException - if the context contains illegal objects for expression

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.