org.broadleafcommerce.openadmin.client.translation.grouping
Class GroupingTranslator
java.lang.Object
org.broadleafcommerce.openadmin.client.translation.grouping.GroupingTranslator
public class GroupingTranslator
- extends Object
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GROUPSTARTCHAR
public static final String GROUPSTARTCHAR
- See Also:
- Constant Field Values
GROUPENDCHAR
public static final String GROUPENDCHAR
- See Also:
- Constant Field Values
STATEMENTENDCHAR
public static final String STATEMENTENDCHAR
- See Also:
- Constant Field Values
SPACECHAR
public static final String SPACECHAR
- See Also:
- Constant Field Values
GroupingTranslator
public GroupingTranslator()
createGroups
public Group createGroups(String mvel)
throws IncompatibleMVELTranslationException
- Throws:
IncompatibleMVELTranslationException
findGroupStart
protected int findGroupStart(String segment,
int startPos)
findGroupEnd
protected int findGroupEnd(String segment,
int subgroupStartIndex)
throws IncompatibleMVELTranslationException
- Throws:
IncompatibleMVELTranslationException
stripWhiteSpace
protected String stripWhiteSpace(String mvel)
parseGroups
protected void parseGroups(Group myGroup,
String segment)
throws IncompatibleMVELTranslationException
- Throws:
IncompatibleMVELTranslationException
compilePhrases
protected void compilePhrases(String segment,
Group myGroup,
boolean isNegation)
throws IncompatibleMVELTranslationException
- Throws:
IncompatibleMVELTranslationException
setGroupOperator
protected void setGroupOperator(String segment,
Group myGroup,
boolean isAnd,
boolean isOr,
boolean isNot)
throws IncompatibleMVELTranslationException
- Throws:
IncompatibleMVELTranslationException
Copyright © 2013. All Rights Reserved.