Expr
, Predicate<ViewContext<?>>
public class LessThanExpr
extends java.lang.Object
Constructor | Description |
---|---|
LessThanExpr(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.
|
<N extends Node> |
resolve(ViewContext<N> context,
View<N> left,
View<N> right) |
|
boolean |
test(ViewContext<?> context) |
|
java.lang.String |
toString() |
public <N extends Node> View<N> resolve(ViewContext<N> context, View<N> left, View<N> right) throws XmlBuilderException
XmlBuilderException
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