Partager via


DocumentBuildMode Class

public final class DocumentBuildMode
extends ExpandableStringEnum<DocumentBuildMode>

Custom document model build mode.

Field Summary

Modifier and Type Field and Description
static final DocumentBuildMode NEURAL

Support documents with diverse visual templates.

static final DocumentBuildMode TEMPLATE

Target documents with similar visual templates.

Constructor Summary

Constructor Description
DocumentBuildMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentBuildMode value.

Method Summary

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

Creates or finds a DocumentBuildMode from its string representation.

static Collection<DocumentBuildMode> values()

Gets known DocumentBuildMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NEURAL

public static final DocumentBuildMode NEURAL

Support documents with diverse visual templates.

TEMPLATE

public static final DocumentBuildMode TEMPLATE

Target documents with similar visual templates.

Constructor Details

DocumentBuildMode

@Deprecated
public DocumentBuildMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DocumentBuildMode value.

Method Details

fromString

public static DocumentBuildMode fromString(String name)

Creates or finds a DocumentBuildMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DocumentBuildMode.

values

public static Collection values()

Gets known DocumentBuildMode values.

Returns:

known DocumentBuildMode values.

Applies to