public class UnparsedExpression extends Object
Constructor and Description |
---|
UnparsedExpression()
Create a new expression.
|
UnparsedExpression(String name,
Class<?> clazz,
String value,
String language)
Create a new expression.
|
UnparsedExpression(String name,
String classname,
String value,
String language)
Create a new expression.
|
Modifier and Type | Method and Description |
---|---|
ClassInfo |
getClazz()
Get the clazz.
|
String |
getLanguage()
Get the language.
|
String |
getName()
Get the name.
|
static Object |
getParsedValue(Object value,
String[] imports,
IValueFetcher fetcher,
ClassLoader classloader)
Get a parsed value.
|
static Object |
getProperty(Map<String,Object> properties,
String name,
String[] imports,
IValueFetcher fetcher,
ClassLoader classloader)
Get a parsed property.
|
String |
getValue()
Get the value.
|
IParsedExpression |
parseExpression(String[] imports,
ClassLoader classloader)
Parse the expression.
|
void |
setClazz(ClassInfo clazz)
Set the clazz.
|
void |
setLanguage(String language)
Set the language.
|
void |
setName(String name)
Set the name.
|
void |
setValue(String value)
Set the value.
|
String |
toString()
Get the string representation.
|
public UnparsedExpression()
public UnparsedExpression(String name, Class<?> clazz, String value, String language)
public String getName()
public void setName(String name)
name
- The name to set.public ClassInfo getClazz()
public void setClazz(ClassInfo clazz)
clazz
- The clazz to set.public String getValue()
public void setValue(String value)
value
- The value to set.public String getLanguage()
public void setLanguage(String language)
language
- The language.public IParsedExpression parseExpression(String[] imports, ClassLoader classloader)
public static Object getProperty(Map<String,Object> properties, String name, String[] imports, IValueFetcher fetcher, ClassLoader classloader)
name
- The property name.public static Object getParsedValue(Object value, String[] imports, IValueFetcher fetcher, ClassLoader classloader)
value
- The value.Copyright © 2012. All Rights Reserved.