public static enum DocumentPatchBuilder.Position extends Enum<DocumentPatchBuilder.Position>
Enum Constant and Description |
---|
AFTER
Indicates that content should be inserted after the context.
|
BEFORE
Indicates that content should be inserted before the context.
|
LAST_CHILD
Indicates that content should be inserted at the end of the
child list for the context.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static DocumentPatchBuilder.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentPatchBuilder.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentPatchBuilder.Position BEFORE
public static final DocumentPatchBuilder.Position AFTER
public static final DocumentPatchBuilder.Position LAST_CHILD
public static DocumentPatchBuilder.Position[] values()
for (DocumentPatchBuilder.Position c : DocumentPatchBuilder.Position.values()) System.out.println(c);
public static DocumentPatchBuilder.Position valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DocumentPatchBuilder.Position>
Copyright © 2013-2016 MarkLogic Corporation.