Expr
, Predicate<ViewContext<?>>
public class LiteralExpr
extends java.lang.Object
Constructor | Description |
---|---|
LiteralExpr(java.lang.String literal) |
Modifier and Type | Method | Description |
---|---|---|
<N extends Node> |
resolve(ViewContext<N> context) |
Evaluate this expression on given xml model view using given context.
|
boolean |
test(ViewContext<?> context) |
|
java.lang.String |
toString() |
public <N extends Node> LiteralView<N> resolve(ViewContext<N> context)
Expr
N
- XML model typecontext
- XPath expression contextpublic java.lang.String toString()
toString
in class java.lang.Object
public final boolean test(ViewContext<?> context) throws XmlBuilderException
test
in interface Predicate<ViewContext<?>>
XmlBuilderException