org.broadleafcommerce.openadmin.client.translation.grouping
public class GroupingTranslator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GROUPENDCHAR |
static String |
GROUPSTARTCHAR |
static String |
SPACECHAR |
static String |
STATEMENTENDCHAR |
| Constructor and Description |
|---|
GroupingTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compilePhrases(String segment,
Group myGroup,
boolean isNegation) |
Group |
createGroups(String mvel) |
protected int |
findGroupEnd(String segment,
int subgroupStartIndex) |
protected int |
findGroupStart(String segment,
int startPos) |
protected void |
parseGroups(Group myGroup,
String segment) |
protected void |
setGroupOperator(String segment,
Group myGroup,
boolean isAnd,
boolean isOr,
boolean isNot) |
protected String |
stripWhiteSpace(String mvel) |
public static final String GROUPSTARTCHAR
public static final String GROUPENDCHAR
public static final String STATEMENTENDCHAR
public static final String SPACECHAR
public Group createGroups(String mvel) throws IncompatibleMVELTranslationException
protected int findGroupStart(String segment, int startPos)
protected int findGroupEnd(String segment, int subgroupStartIndex) throws IncompatibleMVELTranslationException
protected void parseGroups(Group myGroup, String segment) throws IncompatibleMVELTranslationException
protected void compilePhrases(String segment, Group myGroup, boolean isNegation) throws IncompatibleMVELTranslationException
protected void setGroupOperator(String segment, Group myGroup, boolean isAnd, boolean isOr, boolean isNot) throws IncompatibleMVELTranslationException
Copyright © 2015. All Rights Reserved.