org.apache.abdera.i18n.templates
Class Operation
java.lang.Object
org.apache.abdera.i18n.templates.Operation
- All Implemented Interfaces:
- Serializable
public abstract class Operation
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final String name
multivar
protected final boolean multivar
Operation
protected Operation(String name)
Operation
protected Operation(String name,
boolean multivar)
name
public final String name()
evaluate
public abstract String evaluate(String var,
String arg,
Context context)
explain
public abstract void explain(String var,
String arg,
Appendable buf)
throws IOException
- Throws:
IOException
getVariables
public String[] getVariables(String var)
register
public static void register(Operation operation)
get
public static Operation get(String name)
eval
protected static String eval(String token,
Context context)
eval
protected static String eval(String token,
String arg,
Context context)
isdefined
protected static boolean isdefined(String token,
Context context)
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.