XCC/J 3.2-9

Package com.marklogic.xcc.types

XCC Type Definitions.

See:
          Description

Interface Summary
XdmAtomic Marker interface for all XdmItem value objects which are atomic (not nodes).
XdmAttribute An XQuery value which is an attribute().
XdmBinary An XDM-like binary() value (binary() is a Mark Logic extension).
XdmComment An XQuery value which is an comment().
XdmDocument An XDM value which is a document().
XdmDuration A Java representation of xs:duration.
XdmElement An XQuery value which is an element().
XdmItem Base class for XQuery item values (values that may be a member of a sequence).
XdmNode An XDM value which is a node().
XdmProcessingInstruction An XQuery value which is an processing-instruction().
XdmSequence A XdmValue which is a sequence of Items.
XdmText An XQuery text() value.
XdmValue Base interface for XML Data Model (XDM) values represented as Java objects.
XdmVariable A named XDM variable (an XName / XdmValue pair).
XDTDayTimeDuration XDM type: xdt:dayTimeDuration.
XDTUntypedAtomic XDM type: xdt:untypedAtomic.
XDTYearMonthDuration XDM type: xdt:yearMonthDuration.
XSAnyURI XDM type: xs:anyURI.
XSBase64Binary XDM type: xs:base64Binary.
XSBoolean XDM type: xs:boolean.
XSDate XDM type: xs:date.
XSDateTime XDM type: xs:dateTime.
XSDecimal XDM type: xs:decimal.
XSDouble XDM type: xs:double.
XSDuration XDM type: xs:duration.
XSFloat XDM type: xs:float.
XSGDay XDM type: xs:gDay.
XSGMonth XDM type: xs:gMonth.
XSGMonthDay XDM type: xs:gMonthDay.
XSGYear XDM type: xs:gYear.
XSGYearMonth XDM type: xs:gYearMonth.
XSHexBinary XDM type: xs:hexBinary.
XSInteger XDM type: xs:integer.
XSQName XDM type: xs:QName.
XSString XDM type: xs:string.
XSTime XDM type: xs:time.
 

Class Summary
AtomicType Base class for type-safe enumeration instances that represent atomic types.
Duration The Duration class is a mutable class which implements the XdmDuration interface.
ItemType Each instance of this class corresponds to an XQuery schema type.
NodeType Base type for enumerators that represent node types.
SequenceType Type indicator class for values that are sequences.
ValueType Base class for the typesafe enumeration objects that represent XML Schema types.
XName An Expanded Name, consisting of a (optional) namespace name and a local name.
 

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


XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

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