com.marklogic.xcc.types

## Class AtomicType

- java.lang.Object
- - com.marklogic.xcc.types.ValueType
  - - com.marklogic.xcc.types.ItemType
    - - com.marklogic.xcc.types.AtomicType

-     public final class AtomicType
      extends ItemType

  Base class for type-safe enumeration instances that represent atomic types.

- - ### Field Summary

    - ### Fields inherited from class com.marklogic.xcc.types.ValueType

      `ARRAY_NODE, ATTRIBUTE, BINARY, BOOLEAN_NODE, COMMENT, CTS_BOX, CTS_CIRCLE, CTS_POINT, CTS_POLYGON, DOCUMENT, ELEMENT, JS_ARRAY, JS_NULL, JS_OBJECT, NODE, NULL_NODE, NUMBER_NODE, OBJECT_NODE, PROCESSING_INSTRUCTION, SEQUENCE, TEXT, VEC_VECTOR, XS_ANY_URI, XS_BASE64_BINARY, XS_BOOLEAN, XS_DATE, XS_DATE_TIME, XS_DAY_TIME_DURATION, XS_DECIMAL, XS_DOUBLE, XS_DURATION, XS_FLOAT, XS_GDAY, XS_GMONTH, XS_GMONTH_DAY, XS_GYEAR, XS_GYEAR_MONTH, XS_HEX_BINARY, XS_INTEGER, XS_QNAME, XS_STRING, XS_TIME, XS_UNTYPED_ATOMIC, XS_YEAR_MONTH_DURATION`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isAtomic()` Always true.
    `boolean` | `isNode()` Always false.

    - ### Methods inherited from class com.marklogic.xcc.types.ItemType

      `forType, isSequence`

    - ### Methods inherited from class com.marklogic.xcc.types.ValueType

      `toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### isNode

          public boolean isNode()

      Always false.
      Specified by:
        `isNode` in class `ItemType`
      Returns:
        Always false for atomic types.

    - #### isAtomic

          public boolean isAtomic()

      Always true.
      Specified by:
        `isAtomic` in class `ItemType`
      Returns:
        Always true for atomic types.

Copyright © 2025 MarkLogic Corporation. All Rights Reserved.

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