org.ow2.util.substitution.engine.element
Class VariableElement
java.lang.Object
org.ow2.util.substitution.engine.element.CompositeElement
org.ow2.util.substitution.engine.element.VariableElement
- All Implemented Interfaces:
- IResolvableElement
public class VariableElement
- extends CompositeElement
A VariableElement is a CompositeElement that knows how to handle multiple level resolution.
Example:
${composite.${value}}
- Author:
- Guillaume Sauthier
VariableElement
public VariableElement()
getValue
public String getValue(IPropertyResolver resolver)
- Resolve the value result of the composite resolution.
- Specified by:
getValue in interface IResolvableElement- Overrides:
getValue in class CompositeElement
- Parameters:
resolver - IPropertyResolver to be used
- Returns:
- a String representation of this resolved element
toString
public String toString(int indent)
- Produces an indented String representation of this element.
- Specified by:
toString in interface IResolvableElement- Overrides:
toString in class CompositeElement
- Parameters:
indent - indentation value
- Returns:
- a String representation
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.