DocumentModelBuildMode Class

public final class DocumentModelBuildMode
extends ExpandableStringEnum<DocumentModelBuildMode>

Class describing the custom document build mode values

Field Summary

Modifier and Type Field and Description
static final DocumentModelBuildMode NEURAL

Used for English documents with diverse visual templates.

static final DocumentModelBuildMode TEMPLATE

Used for documents with fixed visual templates.

Constructor Summary

Constructor Description
DocumentModelBuildMode()

Deprecated

Use the fromString(String name) factory method.

Creates a DocumentModelBuildMode object.

Method Summary

Modifier and Type Method and Description
static DocumentModelBuildMode fromString(String name)

Creates or finds a DocumentModelBuildMode from its string representation.

static Collection<DocumentModelBuildMode> values()

Returns known DocumentModelBuildMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NEURAL

public static final DocumentModelBuildMode NEURAL

Used for English documents with diverse visual templates.

TEMPLATE

public static final DocumentModelBuildMode TEMPLATE

Used for documents with fixed visual templates.

Constructor Details

DocumentModelBuildMode

@Deprecated
public DocumentModelBuildMode()

Deprecated

Use the fromString(String name) factory method.

Creates a DocumentModelBuildMode object.

Method Details

fromString

public static DocumentModelBuildMode fromString(String name)

Creates or finds a DocumentModelBuildMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DocumentModelBuildMode.

values

public static Collection values()

Returns known DocumentModelBuildMode values.

Returns:

known DocumentModelBuildMode values.

Applies to