Package com.github.simy4.xpath.expr
Class EqualsExpr
- java.lang.Object
-
- com.github.simy4.xpath.expr.EqualsExpr
-
- All Implemented Interfaces:
Expr
,java.io.Serializable
public class EqualsExpr extends java.lang.Object
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
EqualsExpr.EqualsVisitor<N extends Node>
-
Constructor Summary
Constructors Constructor Description EqualsExpr(Expr leftExpr, Expr rightExpr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
operator()
<N extends Node>
View<N>resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy)
Evaluate this expression using given context.<N extends Node>
View<N>resolve(Navigator<N> navigator, View<N> left, View<N> right, boolean greedy)
java.lang.String
toString()
-
-
-
Method Detail
-
resolve
public <N extends Node> View<N> resolve(Navigator<N> navigator, View<N> left, View<N> right, boolean greedy) throws XmlBuilderException
- Throws:
XmlBuilderException
-
operator
protected java.lang.String operator()
-
resolve
public final <N extends Node> View<N> resolve(Navigator<N> navigator, NodeView<N> view, boolean greedy) throws XmlBuilderException
Description copied from interface:Expr
Evaluate this expression using given context.- Specified by:
resolve
in interfaceExpr
- Type Parameters:
N
- XML model type- Parameters:
navigator
- XML navigatorview
- XML node viewgreedy
- whether resolution is greedy- Returns:
- evaluated XML view
- Throws:
XmlBuilderException
- if error occur during XML model modification
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-