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
Class DocumentFormat

    java.lang.Object
      com.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".

  Overrides:
    `toString` in class `Object`
  Returns:
    The name of this format as a String, for diagnostic purposes.

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