@Generated(value="Generated by the protocol buffer compiler") public enum DocumentPosition extends java.lang.Enum<DocumentPosition> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
CONTAINED_BY
The other node contains the reference node.
|
CONTAINS
The reference node contains the other node.
|
DISCONNECTED
The nodes are disconnected.
|
DOCUMENT_POSITION_UNSPECIFIED
Reserved value.
|
FOLLOWING
The position of the other node follows the position of the reference node.
|
IMPLEMENTATION_SPECIFIC
The node positions depend on the DOM implementation and cannot be compared.
|
PRECEDING
The position of the other node precedes the position of the reference node.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CONTAINED_BY_VALUE
The other node contains the reference node.
|
static int |
CONTAINS_VALUE
The reference node contains the other node.
|
static int |
DISCONNECTED_VALUE
The nodes are disconnected.
|
static int |
DOCUMENT_POSITION_UNSPECIFIED_VALUE
Reserved value.
|
static int |
FOLLOWING_VALUE
The position of the other node follows the position of the reference node.
|
static int |
IMPLEMENTATION_SPECIFIC_VALUE
The node positions depend on the DOM implementation and cannot be compared.
|
static int |
PRECEDING_VALUE
The position of the other node precedes the position of the reference node.
|
Modifier and Type | Method and Description |
---|---|
static DocumentPosition |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DocumentPosition> |
internalGetValueMap() |
static DocumentPosition |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DocumentPosition |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DocumentPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentPosition DOCUMENT_POSITION_UNSPECIFIED
public static final DocumentPosition DISCONNECTED
public static final DocumentPosition PRECEDING
public static final DocumentPosition FOLLOWING
public static final DocumentPosition CONTAINS
public static final DocumentPosition CONTAINED_BY
public static final DocumentPosition IMPLEMENTATION_SPECIFIC
public static final DocumentPosition UNRECOGNIZED
public static final int DOCUMENT_POSITION_UNSPECIFIED_VALUE
public static final int DISCONNECTED_VALUE
public static final int PRECEDING_VALUE
public static final int FOLLOWING_VALUE
public static final int CONTAINS_VALUE
public static final int CONTAINED_BY_VALUE
public static final int IMPLEMENTATION_SPECIFIC_VALUE
public static DocumentPosition[] values()
for (DocumentPosition c : DocumentPosition.values()) System.out.println(c);
public static DocumentPosition 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 final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static DocumentPosition valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static DocumentPosition forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DocumentPosition> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DocumentPosition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)