klyn.io.xml.xpath.DOMXPathResult.fromBoolean
method

    public static fromBoolean(value as Boolean, requestedType as Int, reusable as XPathResult) as XPathResult throws XPathException:

Description

Builds a result from a boolean value.

Parameters

- value Boolean value.
- requestedType Requested XPath result type.
- reusable Optional reusable result.

Returns

Result object.

Example

    result = DOMXPathResult.fromBoolean(true, XPathResult.BOOLEAN_TYPE, null)