protected abstract class AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression> extends java.lang.Object implements AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
arguments(T expression)
Returns the arguments that can help to format the localized problem.
|
protected abstract java.lang.String |
firstCommaMissingKey() |
protected abstract java.lang.String |
firstExpressionInvalidKey() |
protected int |
firstExpressionLength(T expression) |
protected abstract java.lang.String |
firstExpressionMissingKey() |
protected boolean |
hasFirstExpression(T expression) |
boolean |
hasLeftParenthesis(T expression)
Determines whether the given
AbstractEncapsulatedExpression has the left parenthesis. |
boolean |
hasRightParenthesis(T expression)
Determines whether the given
AbstractEncapsulatedExpression has the right parenthesis. |
protected boolean |
hasSecondExpression(T expression) |
protected boolean |
hasThirdExpression(T expression) |
protected boolean |
isFirstExpressionValid(T expression) |
protected boolean |
isRightParenthesisMissing(T expression)
Determines whether the right parenthesis is missing from the given expression.
|
protected boolean |
isSecondExpressionValid(T expression) |
protected boolean |
isThirdExpressionValid(T expression) |
protected abstract java.lang.String |
secondCommaMissingKey() |
protected abstract java.lang.String |
secondExpressionInvalidKey() |
protected int |
secondExpressionLength(T expression) |
protected abstract java.lang.String |
secondExpressionMissingKey() |
protected abstract java.lang.String |
thirdExpressionInvalidKey() |
protected int |
thirdExpressionLength(T expression) |
protected abstract java.lang.String |
thirdExpressionMissingKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
identifier, leftParenthesisMissingKey, rightParenthesisMissingKey
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper()
public java.lang.String[] arguments(T expression)
arguments
in interface AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression>
expression
- The AbstractEncapsulatedExpression
being validatedprotected abstract java.lang.String firstCommaMissingKey()
protected abstract java.lang.String firstExpressionInvalidKey()
protected int firstExpressionLength(T expression)
protected abstract java.lang.String firstExpressionMissingKey()
protected boolean hasFirstExpression(T expression)
public boolean hasLeftParenthesis(T expression)
AbstractEncapsulatedExpression
has the left parenthesis.hasLeftParenthesis
in interface AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression>
expression
- The AbstractEncapsulatedExpression
being validatedtrue
if the left parenthesis was parsedpublic boolean hasRightParenthesis(T expression)
AbstractEncapsulatedExpression
has the right parenthesis.hasRightParenthesis
in interface AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression>
expression
- The AbstractEncapsulatedExpression
being validatedtrue
if the right parenthesis was parsedprotected boolean hasSecondExpression(T expression)
protected boolean hasThirdExpression(T expression)
protected boolean isFirstExpressionValid(T expression)
protected boolean isRightParenthesisMissing(T expression)
expression
- The Expression
to verify for the existence of the right parenthesis
by determining if the encapsulated information has been parsed or nottrue
if the encapsulated information was parsed and the right parenthesis
is missing; false
in any other caseprotected boolean isSecondExpressionValid(T expression)
protected boolean isThirdExpressionValid(T expression)
protected abstract java.lang.String secondCommaMissingKey()
protected abstract java.lang.String secondExpressionInvalidKey()
protected int secondExpressionLength(T expression)
protected abstract java.lang.String secondExpressionMissingKey()
protected abstract java.lang.String thirdExpressionInvalidKey()
protected int thirdExpressionLength(T expression)
protected abstract java.lang.String thirdExpressionMissingKey()