public class MavenExpressionFactory
extends java.lang.Object
implements org.apache.commons.jelly.expression.ExpressionFactory
Constructor and Description |
---|
MavenExpressionFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.commons.jelly.expression.Expression |
createExpression(java.lang.String text) |
boolean |
isSupportAntVariables() |
protected boolean |
isValidAntVariableName(java.lang.String text)
Determine if a variable name is a valid ant variable name.
|
void |
setSupportAntVariables(boolean supportAntVariables)
Sets whether we should allow Ant-style expresssions, using dots as part
of variable name
|
public org.apache.commons.jelly.expression.Expression createExpression(java.lang.String text) throws org.apache.commons.jelly.JellyException
createExpression
in interface org.apache.commons.jelly.expression.ExpressionFactory
org.apache.commons.jelly.JellyException
ExpressionFactory
public boolean isSupportAntVariables()
public void setSupportAntVariables(boolean supportAntVariables)
supportAntVariables
- true
to indicate that ant variable
should be supported, otherwise false
.protected boolean isValidAntVariableName(java.lang.String text)
text
- The text to test.Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.