|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.expression.ExpressionNamespace
public final class ExpressionNamespace
The expression namespace as well as a repository for the namespaces.
A namespace is usually defined by the name of the class defining the expression.
Method Summary | |
---|---|
void |
addExpressionInfo(String name,
ExpressionInfo expressionInfo)
Adds an expression info to the namespace. |
AdvisedClassFilterExpressionVisitor |
getAdvisedClassExpression(String name)
Returns the advised class expression with a specific name. |
ExpressionVisitor |
getExpression(String name)
Returns the expression with a specific name. |
ExpressionInfo |
getExpressionInfo(String name)
Returns the expression info with a specific name or throw an exception if it could not be found. |
ExpressionInfo |
getExpressionInfoOrNull(String name)
Returns the expression info with a specific name or null if it could not be found. |
String |
getName()
Returns the name of the namespace. |
static ExpressionNamespace |
getNamespace(String namespace)
Returns the expression namespace for a specific namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ExpressionNamespace getNamespace(String namespace)
namespace
- the expression namespace
public void addExpressionInfo(String name, ExpressionInfo expressionInfo)
name
- the name mapped to the expressionexpressionInfo
- the expression info to addpublic ExpressionInfo getExpressionInfoOrNull(String name)
name
- the name of the expression
public ExpressionInfo getExpressionInfo(String name)
name
- the name of the expression
public ExpressionVisitor getExpression(String name)
name
- the name of the expression
public AdvisedClassFilterExpressionVisitor getAdvisedClassExpression(String name)
name
- the name of the expression
public String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |