public enum XPathResultType extends java.lang.Enum<XPathResultType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.dom.XPathResultType
Enum Constant and Description |
---|
ANY
The result type is not set.
|
ANY_UNORDERED_NODE
The result represents a single node matching the XPath expression.
|
BOOLEAN
The result contains a single boolean value.
|
FIRST_ORDERED_NODE
The result represents the first node in the document matching the XPath expression.
|
NUMBER
The result contains a single number.
|
ORDERED_NODE_ITERATOR
The result represents a set of all nodes matching the XPath expression.
|
ORDERED_NODE_SNAPSHOT
The result represents the snapshots of all nodes matching the XPath expression.
|
STRING
The result contains a single string.
|
UNORDERED_NODE_ITERATOR
The result represents a set of all nodes matching the XPath expression.
|
UNORDERED_NODE_SNAPSHOT
The result represents the snapshots of all nodes matching the XPath expression.
|
UNRECOGNIZED |
XPATH_RESULT_TYPE_UNSPECIFIED
Reserved value.
|
Modifier and Type | Field and Description |
---|---|
static int |
ANY_UNORDERED_NODE_VALUE
The result represents a single node matching the XPath expression.
|
static int |
ANY_VALUE
The result type is not set.
|
static int |
BOOLEAN_VALUE
The result contains a single boolean value.
|
static int |
FIRST_ORDERED_NODE_VALUE
The result represents the first node in the document matching the XPath expression.
|
static int |
NUMBER_VALUE
The result contains a single number.
|
static int |
ORDERED_NODE_ITERATOR_VALUE
The result represents a set of all nodes matching the XPath expression.
|
static int |
ORDERED_NODE_SNAPSHOT_VALUE
The result represents the snapshots of all nodes matching the XPath expression.
|
static int |
STRING_VALUE
The result contains a single string.
|
static int |
UNORDERED_NODE_ITERATOR_VALUE
The result represents a set of all nodes matching the XPath expression.
|
static int |
UNORDERED_NODE_SNAPSHOT_VALUE
The result represents the snapshots of all nodes matching the XPath expression.
|
static int |
XPATH_RESULT_TYPE_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static XPathResultType |
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<XPathResultType> |
internalGetValueMap() |
static XPathResultType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static XPathResultType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static XPathResultType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XPathResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XPathResultType XPATH_RESULT_TYPE_UNSPECIFIED
public static final XPathResultType ANY
public static final XPathResultType NUMBER
public static final XPathResultType STRING
public static final XPathResultType BOOLEAN
public static final XPathResultType UNORDERED_NODE_ITERATOR
public static final XPathResultType ORDERED_NODE_ITERATOR
public static final XPathResultType UNORDERED_NODE_SNAPSHOT
public static final XPathResultType ORDERED_NODE_SNAPSHOT
public static final XPathResultType ANY_UNORDERED_NODE
public static final XPathResultType FIRST_ORDERED_NODE
public static final XPathResultType UNRECOGNIZED
public static final int XPATH_RESULT_TYPE_UNSPECIFIED_VALUE
public static final int ANY_VALUE
public static final int NUMBER_VALUE
public static final int STRING_VALUE
public static final int BOOLEAN_VALUE
public static final int UNORDERED_NODE_ITERATOR_VALUE
public static final int ORDERED_NODE_ITERATOR_VALUE
public static final int UNORDERED_NODE_SNAPSHOT_VALUE
public static final int ORDERED_NODE_SNAPSHOT_VALUE
public static final int ANY_UNORDERED_NODE_VALUE
public static final int FIRST_ORDERED_NODE_VALUE
public static XPathResultType[] values()
for (XPathResultType c : XPathResultType.values()) System.out.println(c);
public static XPathResultType 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 XPathResultType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static XPathResultType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<XPathResultType> 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 XPathResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)