Skip navigation links
XCC/J 9.0

Package com.marklogic.xcc.types

XCC Type Definitions.

See: Description

Package com.marklogic.xcc.types Description

XCC Type Definitions.

This package contains classes that map XML Data Model (XDM) data types to Java types. There are two roughly parallel class hierachies in this package: those which correspond to an XDM value instance (for example: XSDecimal) and those which describe an XQuery type (for example AtomicType).

The descriptive types, those whose name ends in "Type", constitute a type-safe enumeration. These classes may not be instantiated by user code. The class ValueType defines the public, immutable instances of all the available type descriptive classes. And the static class method ItemType.forType(String) provides a convenience mapping from XQuery type names to the corresponding descriptive class.

The class hierarchies of the type classes are shown in these UML diagrams. Click on the images to see them full-size:

UML Diagram of XQuery Data Model Interfaces

XQuery Values UML Diagram

UML Diagram of XQuery Type Labels

XQuery Types UML Diagram

Skip navigation links
XCC/J 9.0

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