| Constructor and Description |
|---|
Expression(Filter aFilter)
Instantiates a new expression.
|
| Modifier and Type | Method and Description |
|---|---|
Filter.LeftPart |
getLeftPart()
Gets the left part.
|
Filter.Operand |
getOperand()
Gets the operand.
|
Filter.RightPart |
getRightPart()
Gets the right part.
|
boolean |
hasLeftPart()
Checks for left part.
|
boolean |
hasOperand()
Checks for operand.
|
boolean |
hasRightPart()
Checks for right part.
|
boolean |
isAndFilter()
Checks if is and filter.
|
boolean |
isOrFilter()
Checks if is or filter.
|
protected void |
setIsAndFilter()
Sets the is and filter.
|
protected void |
setIsOrFilter()
Sets the is or filter.
|
void |
setLeftPart(Filter.LeftPart aLP)
Sets the left part.
|
void |
setOperand(Filter.Operand aOP)
Sets the operand.
|
void |
setRightPart(Filter.RightPart aRP)
Sets the right part.
|
public Expression(Filter aFilter)
aFilter - the a filterprotected void setIsOrFilter()
throws ParseException
ParseException - the parse exceptionprotected void setIsAndFilter()
throws ParseException
ParseException - the parse exceptionpublic boolean isOrFilter()
public boolean isAndFilter()
public void setLeftPart(Filter.LeftPart aLP)
aLP - the new left partpublic void setRightPart(Filter.RightPart aRP)
aRP - the new right partpublic void setOperand(Filter.Operand aOP)
aOP - the new operandpublic boolean hasLeftPart()
public boolean hasRightPart()
public boolean hasOperand()
public Filter.LeftPart getLeftPart()
public Filter.RightPart getRightPart()
public Filter.Operand getOperand()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.