XCC/J 3.2-9

com.marklogic.xcc
Class DocumentFormat

java.lang.Object
  extended bycom.marklogic.xcc.DocumentFormat

public final class DocumentFormat
extends Object

Typesafe enumeration of allowable formats for document insertion.


Field Summary
static DocumentFormat BINARY
          Document format = binary()
static DocumentFormat NONE
          Document format = none (use server default)
static DocumentFormat TEXT
          Document format = text()
static DocumentFormat XML
          Document format = XML node()
 
Method Summary
 String toString()
          The name of this format: "xml", "text" or "binary".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML

public static final DocumentFormat XML
Document format = XML node()


TEXT

public static final DocumentFormat TEXT
Document format = text()


BINARY

public static final DocumentFormat BINARY
Document format = binary()


NONE

public static final DocumentFormat NONE
Document format = none (use server default)

Method Detail

toString

public String toString()
The name of this format: "xml", "text" or "binary".

Returns:
The name of this format as a String, for diagnostic purposes.

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