Expr
, Predicate<ViewContext<?>>
public class AdditionExpr
extends java.lang.Object
Constructor | Description |
---|---|
AdditionExpr(Expr leftExpr,
Expr rightExpr) |
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 final <N extends Node> View<N> resolve(ViewContext<N> context) throws XmlBuilderException
Expr
N
- XML model typecontext
- XPath expression contextXmlBuilderException
- if error occur during XML model modificationpublic final java.lang.String toString()
toString
in class java.lang.Object
public final boolean test(ViewContext<?> context) throws XmlBuilderException
test
in interface Predicate<ViewContext<?>>
XmlBuilderException