com.marklogic.xcc.types

## Interface BooleanNode

- All Superinterfaces:
    JsonItem, XdmItem, XdmNode, XdmValue

      public interface BooleanNode
      extends XdmNode, JsonItem

  Interface for JSON boolean node.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Boolean` | `asBoolean()`

    - ### Methods inherited from interface com.marklogic.xcc.types.XdmNode

      `asW3cNode, asW3cNode`

    - ### Methods inherited from interface com.marklogic.xcc.types.JsonItem

      `asJsonNode, asJsonNode`

    - ### Methods inherited from interface com.marklogic.xcc.types.XdmItem

      `asInputStream, asReader, getItemType, isCached, writeTo, writeTo`

    - ### Methods inherited from interface com.marklogic.xcc.types.XdmValue

      `asString, getValueType`

- - ### Method Detail

    - #### asBoolean

          java.lang.Boolean asBoolean()

      Returns:
        The value of this item as a boolean.

Copyright © 2025 MarkLogic Corporation. All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com