public class ExpressionFormat extends java.lang.Object implements DomFormatter<ExpressionTarget>
| Constructor and Description |
|---|
ExpressionFormat(uk.ac.ed.epcc.webapp.AppContext c,
java.lang.String expr) |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Node |
format(org.w3c.dom.Document doc,
ExpressionTarget t)
format the input value as a Dom Node.
|
java.lang.Class<ExpressionTarget> |
getTarget()
Get the target type for this formatter.
|
public ExpressionFormat(uk.ac.ed.epcc.webapp.AppContext c,
java.lang.String expr)
public org.w3c.dom.Node format(org.w3c.dom.Document doc,
ExpressionTarget t)
throws InvalidPropertyException,
ParseException
DomFormatterformat in interface DomFormatter<ExpressionTarget>InvalidPropertyExceptionParseExceptiondoc - document to create result inpublic java.lang.Class<ExpressionTarget> getTarget()
DomFormattergetTarget in interface DomFormatter<ExpressionTarget>getTarget in interface uk.ac.ed.epcc.webapp.Targetted<ExpressionTarget>