No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.
javax.xml.xpath

Interface XPathExpression

    • Method Detail

      • evaluate

        Object evaluate(Object item,
                      QName returnType)
                        throws XPathExpressionException

        Evaluate the compiled XPath expression in the specified context and return the result as the specified type.

        See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion.

        If returnType is not one of the types defined in XPathConstants, then an IllegalArgumentException is thrown.

        If a null value is provided for item, an empty document will be used for the context. If returnType is null, then a NullPointerException is thrown.

        Parameters:
        item - The starting context (a node, for example).
        returnType - The desired return type.
        Returns:
        The Object that is the result of evaluating the expression and converting the result to returnType.
        Throws:
        XPathExpressionException - If the expression cannot be evaluated.
        IllegalArgumentException - If returnType is not one of the types defined in XPathConstants.
        NullPointerException - If returnType is null.
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph