XCC/J 6.0-3

com.marklogic.xcc.types
Interface XSInteger

All Superinterfaces:
XdmAtomic, XdmItem, XdmValue

public interface XSInteger
extends XdmAtomic

XDM type: xs:integer.


Method Summary
 BigInteger asBigInteger()
           
 Integer asInteger()
           
 Long asLong()
           
 int asPrimitiveInt()
           
 long asPrimitiveLong()
           
 
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

asBigInteger

BigInteger asBigInteger()
Returns:
The value of this item as a Biginteger object.

asLong

Long asLong()
Returns:
The value of this item as a Long object. Warning: This method may truncate the XQuery integer value.

asPrimitiveLong

long asPrimitiveLong()
Returns:
The value of this item as a Java primitive long value (64 bits). Warning: This method may truncate the XQuery integer value.

asInteger

Integer asInteger()
Returns:
The value of this item as an Integer object. Warning: This method may truncate the XQuery integer value.

asPrimitiveInt

int asPrimitiveInt()
Returns:
The value of this item as a Java primitive int value (32 bits). Warning: This method may truncate the XQuery integer value.

XCC/J 6.0-3

Copyright © 2013 MarkLogic Corporation. All Rights Reserved.

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