public static enum DocumentPatchBuilder.Position extends java.lang.Enum<DocumentPatchBuilder.Position>
Enum Constant | 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 | Description |
---|---|---|
java.lang.String |
toString() |
|
static DocumentPatchBuilder.Position |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DocumentPatchBuilder.Position>
Copyright © 2013-2019 MarkLogic Corporation.