org.oXML.xpath.step
Class RelationalExpression
java.lang.Object
org.oXML.xpath.step.RelationalExpression
- All Implemented Interfaces:
- Expression
- public class RelationalExpression
- extends java.lang.Object
- implements Expression
tbd - how compare a nodeset and boolean ???
eg test="/foo/bar < true()" ???
or even - how compare two booleans? or two strings - lexicographically??
xalan gave me false on 'true() <= false()' and '"abc" <= "abc"'.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LESS_THAN
public static final int LESS_THAN
- See Also:
- Constant Field Values
LESS_THAN_OR_EQUAL
public static final int LESS_THAN_OR_EQUAL
- See Also:
- Constant Field Values
GREATER_THAN
public static final int GREATER_THAN
- See Also:
- Constant Field Values
GREATER_THAN_OR_EQUAL
public static final int GREATER_THAN_OR_EQUAL
- See Also:
- Constant Field Values
RelationalExpression
public RelationalExpression(Expression lhs,
Expression rhs,
int operation)
bind
public void bind(Resolver ctxt)
throws ObjectBoxException
- Specified by:
bind in interface Expression
- Throws:
ObjectBoxException
operation
public int operation()
getOperation
public java.lang.String getOperation()
evaluate
public Node evaluate(RuntimeContext ctxt)
throws ObjectBoxException
- Specified by:
evaluate in interface Expression
- Throws:
ObjectBoxException
toString
public java.lang.String toString()
write
public void write(org.xml.sax.ContentHandler handler)
throws org.xml.sax.SAXException
- Specified by:
write in interface Expression
- Throws:
org.xml.sax.SAXException