All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marklogic.xcc.DocumentFormat Maven / Gradle / Ivy

The newest version!
package com.marklogic.xcc;

/**
 * Typesafe enumeration of allowable formats for document insertion.
 *
 * @see 
 * Class DocumentFormat
 */
public final class DocumentFormat {

    /**
     * Document format = XML node()
     */
    public static final DocumentFormat XML = null;

    /**
     * Document format = text()
     */
    public static final DocumentFormat TEXT = null;

    /**
     * Document format = binary()
     */
    public static final DocumentFormat BINARY = null;

    /**
     * Document format = none (use server default)
     */
    public static final DocumentFormat NONE = null;

    /**
     * The name of this format: "xml", "text" or "binary".
     *
     * @return The name of this format as a {@link String}, for diagnostic
     * purposes.
     */
    @Override
    public String toString() {
        throw new UnsupportedOperationException();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy