org.broadleafcommerce.openadmin.client.translation.statement
Class PhraseTranslator

java.lang.Object
  extended by org.broadleafcommerce.openadmin.client.translation.statement.PhraseTranslator

public class PhraseTranslator
extends Object

Author:
jfischer

Constructor Summary
PhraseTranslator()
           
 
Method Summary
 Expression createExpression(String phrase)
           
protected  String[] extractComponents(String phrase)
           
protected  String[] extractProjection(String[] components)
           
protected  String[] extractSpecialComponents(String[] components, String key)
           
protected  com.smartgwt.client.types.OperatorId getOperator(String field, String operator, String value, boolean isNegation, boolean isFieldComparison, boolean isIgnoreCase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhraseTranslator

public PhraseTranslator()
Method Detail

createExpression

public Expression createExpression(String phrase)
                            throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractComponents

protected String[] extractComponents(String phrase)
                              throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException

extractProjection

protected String[] extractProjection(String[] components)

extractSpecialComponents

protected String[] extractSpecialComponents(String[] components,
                                            String key)

getOperator

protected com.smartgwt.client.types.OperatorId getOperator(String field,
                                                           String operator,
                                                           String value,
                                                           boolean isNegation,
                                                           boolean isFieldComparison,
                                                           boolean isIgnoreCase)
                                                    throws IncompatibleMVELTranslationException
Throws:
IncompatibleMVELTranslationException


Copyright © 2013. All Rights Reserved.