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

E17060-01

oracle.odi.domain.xrefs.expression
Class ExpressionStringParser

java.lang.Object
  extended by oracle.odi.domain.xrefs.expression.ExpressionStringParser

public final class ExpressionStringParser
extends java.lang.Object

Expression string parser that create an Expression instance from its string representation.

The parsing consist in analyzing the string, looking for tags (see SnpsExpressionTag) in order to create CrossRefs associated to the underlying expression object.

Since:
11.1.1.3.0
See Also:
Expression

Constructor Summary
ExpressionStringParser(com.sunopsis.language.SnpsLanguage pLanguage, IExpressionContext pContext)
          Create a new ExpressionStringParser.
 
Method Summary
 IExpressionContext getContext()
          Obtains the expression context of this parser.
 com.sunopsis.language.SnpsLanguage getLanguage()
          Obtains the language this parser will use to parse the string.
 Expression parse(java.lang.String pExpressionValue)
          Parse the given expression string value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionStringParser

public ExpressionStringParser(com.sunopsis.language.SnpsLanguage pLanguage,
                              IExpressionContext pContext)
Create a new ExpressionStringParser.

Parameters:
pLanguage - language definition
pContext - parsing scope
Method Detail

getContext

public IExpressionContext getContext()
Obtains the expression context of this parser.

Returns:
the parsing scope

getLanguage

public com.sunopsis.language.SnpsLanguage getLanguage()
Obtains the language this parser will use to parse the string.

Returns:
language definition

parse

public Expression parse(java.lang.String pExpressionValue)
Parse the given expression string value.

Parameters:
pExpressionValue - the expression string
Returns:
an Expression object

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.