Polishing method names

This commit is contained in:
Jeremy Grelle
2007-08-01 20:50:16 +00:00
parent ef404cec12
commit 8d678bbe10
6 changed files with 8 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ public class DefaultELContextFactory implements ELContextFactory {
* Configures and returns a simple EL context to use to parse EL expressions.
* @return The configured simple ELContext instance.
*/
public ELContext getParseTimeELContext() {
public ELContext getParseContext() {
return new SimpleELContext();
}
@@ -24,7 +24,7 @@ public class DefaultELContextFactory implements ELContextFactory {
* Configures and returns a simple EL context to use to evaluate EL expressions on the given base target object.
* @return The configured simple ELContext instance.
*/
public ELContext getEvalTimeELContext(Object target) {
public ELContext getEvaluationContext(Object target) {
return new SimpleELContext(target);
}

View File

@@ -14,7 +14,7 @@ public interface ELContextFactory {
* Configures and returns an {@link ELContext} to be used in parsing EL expressions.
* @return ELContext The configured ELContext instance for parsing expressions.
*/
public ELContext getParseTimeELContext();
public ELContext getParseContext();
/**
* Configures and returns an {@link ELContext} to be used in evaluating EL expressions on the given base target
@@ -23,6 +23,6 @@ public interface ELContextFactory {
* @param target The base object for the expression evaluation.
* @return ELContext The configured ELContext instance for evaluating expressions.
*/
public ELContext getEvalTimeELContext(Object target);
public ELContext getEvaluationContext(Object target);
}

View File

@@ -59,7 +59,7 @@ public class ELExpression implements SettableExpression {
* @return {@link ELContext} The thread-bound {@link ELContext} instance.
*/
protected ELContext getELContext(Object target) {
ELContext ctx = factory.getEvalTimeELContext(target);
ELContext ctx = factory.getEvaluationContext(target);
return ctx;
}

View File

@@ -113,7 +113,7 @@ public class ELExpressionParser implements ExpressionParser {
* @throws ParserException
*/
protected SettableExpression doParseSettableExpression(String expressionString) throws ParserException {
ELContext ctx = contextFactory.getParseTimeELContext();
ELContext ctx = contextFactory.getParseContext();
try {
return new ELExpression(contextFactory, expressionFactory.createValueExpression(ctx, expressionString,
Object.class));