Home | History | Annotate | Download | only in xpath

Lines Matching refs:returnType

189      * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants} (
200 * If <code>expression</code> or <code>returnType</code> is <code>null</code>, then a
205 * @param returnType The desired return type.
207 * @return Result of evaluating an XPath expression as an <code>Object</code> of <code>returnType</code>.
210 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}.
211 * @throws NullPointerException If <code>expression</code> or <code>returnType</code> is <code>null</code>.
213 public Object evaluate(String expression, Object item, QName returnType)
219 * <p>This method calls {@link #evaluate(String expression, Object item, QName returnType)} with a <code>returnType</code> of
247 * {@link #evaluate(String expression, Object item, QName returnType)} on the resulting document object.</p>
252 * <p>If <code>returnType</code> is not one of the types defined in {@link XPathConstants},
255 * <p>If <code>expression</code>, <code>source</code> or <code>returnType</code> is <code>null</code>,
260 * @param returnType The desired return type.
265 * @throws IllegalArgumentException If <code>returnType</code> is not one of the types defined in {@link XPathConstants}.
266 * @throws NullPointerException If <code>expression</code>, <code>source</code> or <code>returnType</code>
272 QName returnType)
279 * <p>This method calls {@link #evaluate(String expression, InputSource source, QName returnType)} with a
280 * <code>returnType</code> of {@link XPathConstants#STRING}.</p>