XCC/J 3.2-9

com.marklogic.xcc.types
Class AtomicType

java.lang.Object
  extended bycom.marklogic.xcc.types.ValueType
      extended bycom.marklogic.xcc.types.ItemType
          extended bycom.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
BINARY, ELEMENT, NODE, SEQUENCE, TEXT, XDT_DAY_TIME_DURATION, XDT_UNTYPED_ATOMIC, XDT_YEAR_MONTH_DURATION, XS_ANY_URI, XS_BASE64_BINARY, XS_BOOLEAN, XS_DATE, XS_DATE_TIME, 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
 
Method Summary
 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
 
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.

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