Package org.htmlunit.xpath.operations
Class String
- java.lang.Object
-
- org.htmlunit.xpath.Expression
-
- org.htmlunit.xpath.operations.UnaryOperation
-
- org.htmlunit.xpath.operations.String
-
- All Implemented Interfaces:
javax.xml.transform.SourceLocator
,ExpressionNode
,XPathVisitable
public class String extends UnaryOperation
The 'string()' operation expression executer.
-
-
Field Summary
-
Fields inherited from class org.htmlunit.xpath.operations.UnaryOperation
m_right
-
-
Constructor Summary
Constructors Constructor Description String()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XObject
operate(XObject right)
Apply the operation to two operands, and return the result.-
Methods inherited from class org.htmlunit.xpath.operations.UnaryOperation
callVisitors, canTraverseOutsideSubtree, deepEquals, execute, setRight
-
Methods inherited from class org.htmlunit.xpath.Expression
asIterator, asNode, assertion, bool, error, execute, execute, execute, exprGetParent, exprSetParent, getColumnNumber, getExpressionOwner, getLineNumber, getPublicId, getSystemId, isSameClass, isStableNumber, num
-
-
-
-
Method Detail
-
operate
public XObject operate(XObject right) throws javax.xml.transform.TransformerException
Apply the operation to two operands, and return the result.- Specified by:
operate
in classUnaryOperation
- Parameters:
right
- non-null reference to the evaluated right operand.- Returns:
- non-null reference to the XObject that represents the result of the operation.
- Throws:
javax.xml.transform.TransformerException
- in case of error
-
-