Package ognl.enhance
Class OgnlLocalReference
- java.lang.Object
-
- ognl.enhance.OgnlLocalReference
-
- All Implemented Interfaces:
LocalReference
public class OgnlLocalReference extends java.lang.Object implements LocalReference
Implementation ofLocalReference.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>clazzTypeprivate java.lang.Stringexpressionprivate java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description OgnlLocalReference(java.lang.String name, java.lang.String expression, java.lang.Class<?> clazzType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetExpression()The expression that sets the value, ie the part after<class type> refName = <expression>.java.lang.StringgetName()The name of the assigned variable reference.java.lang.Class<?>getType()The type of reference.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:LocalReferenceThe name of the assigned variable reference.- Specified by:
getNamein interfaceLocalReference- Returns:
- The name of the reference as it will be when compiled.
-
getExpression
public java.lang.String getExpression()
Description copied from interface:LocalReferenceThe expression that sets the value, ie the part after<class type> refName = <expression>.- Specified by:
getExpressionin interfaceLocalReference- Returns:
- The setting expression.
-
getType
public java.lang.Class<?> getType()
Description copied from interface:LocalReferenceThe type of reference.- Specified by:
getTypein interfaceLocalReference- Returns:
- The type.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-