Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 MarkLogic Corporation, All Rights Reserved.

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