Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


oracle.stellent.wcm.core.data.impl
Class TranslateExpressionParser

java.lang.Object
  extended by oracle.stellent.wcm.core.data.impl.TranslateExpressionParser

All Implemented Interfaces:
ExpressionParser

public class TranslateExpressionParser
extends java.lang.Object
implements ExpressionParser

Handles evaluating methods returned from the Content Server via the WCMMetadata.SERVICE_SSXA_GET_DATAFILE service.


Constructor Summary
TranslateExpressionParser()
           

 

Method Summary
protected  Expression createExpression(java.util.regex.Matcher matcher)
          Evaluate the datafile expression.
 java.util.List<Expression> parseExpressions(java.lang.String script)
          Parse the given script for Expression

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TranslateExpressionParser

public TranslateExpressionParser()

Method Detail

parseExpressions

public java.util.List<Expression> parseExpressions(java.lang.String script)
                                            throws DataFileException
Parse the given script for Expression
Specified by:
parseExpressions in interface ExpressionParser
Parameters:
script - the script to parse
Returns:
a list of expressions
Throws:
DataFileException

createExpression

protected Expression createExpression(java.util.regex.Matcher matcher)
                               throws DataFileException
Evaluate the datafile expression. The expression is in the form of ${wcmLink('arg1','arg2')}
Parameters:
matcher - the matcher that identified this expression
Returns:
the result of the expression
Throws:
DataFileException

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


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