Package com.teamdev.jxbrowser.dom
Enum Class XPathResultType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<XPathResultType>
,Constable
@Generated("Generated by the protocol buffer compiler")
public enum XPathResultType
extends Enum<XPathResultType>
implements com.google.protobuf.ProtocolMessageEnum
Represents the XPath result types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe result type is not set.The result represents a single node matching the XPath expression.The result contains a single boolean value.The result represents the first node in the document matching the XPath expression.The result contains a single number.The result represents a set of all nodes matching the XPath expression.The result represents the snapshots of all nodes matching the XPath expression.The result contains a single string.The result represents a set of all nodes matching the XPath expression.The result represents the snapshots of all nodes matching the XPath expression.Reserved value. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The result represents a single node matching the XPath expression.static final int
The result type is not set.static final int
The result contains a single boolean value.static final int
The result represents the first node in the document matching the XPath expression.static final int
The result contains a single number.static final int
The result represents a set of all nodes matching the XPath expression.static final int
The result represents the snapshots of all nodes matching the XPath expression.static final int
The result contains a single string.static final int
The result represents a set of all nodes matching the XPath expression.static final int
The result represents the snapshots of all nodes matching the XPath expression.static final int
Reserved value. -
Method Summary
Modifier and TypeMethodDescriptionstatic XPathResultType
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<XPathResultType>
static XPathResultType
valueOf
(int value) Deprecated.static XPathResultType
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static XPathResultType
Returns the enum constant of this class with the specified name.static XPathResultType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
XPATH_RESULT_TYPE_UNSPECIFIED
Reserved value. -
ANY
The result type is not set. In this case the type is a natural type of the evaluation result. -
NUMBER
The result contains a single number. -
STRING
The result contains a single string. -
BOOLEAN
The result contains a single boolean value. -
UNORDERED_NODE_ITERATOR
The result represents a set of all nodes matching the XPath expression. The order of nodes in the result is not defined. -
ORDERED_NODE_ITERATOR
The result represents a set of all nodes matching the XPath expression. The nodes in the result are in the same order that they appear in the document. -
UNORDERED_NODE_SNAPSHOT
The result represents the snapshots of all nodes matching the XPath expression. The order of the nodes in the result is not defined. -
ORDERED_NODE_SNAPSHOT
The result represents the snapshots of all nodes matching the XPath expression. The nodes in the result are in the same order that they appear in the document. -
ANY_UNORDERED_NODE
The result represents a single node matching the XPath expression. The node is not necessarily the first node in the document that matches the expression. -
FIRST_ORDERED_NODE
The result represents the first node in the document matching the XPath expression. -
UNRECOGNIZED
-
-
Field Details
-
XPATH_RESULT_TYPE_UNSPECIFIED_VALUE
public static final int XPATH_RESULT_TYPE_UNSPECIFIED_VALUEReserved value.- See Also:
-
ANY_VALUE
public static final int ANY_VALUEThe result type is not set. In this case the type is a natural type of the evaluation result.- See Also:
-
NUMBER_VALUE
public static final int NUMBER_VALUEThe result contains a single number.- See Also:
-
STRING_VALUE
public static final int STRING_VALUEThe result contains a single string.- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEThe result contains a single boolean value.- See Also:
-
UNORDERED_NODE_ITERATOR_VALUE
public static final int UNORDERED_NODE_ITERATOR_VALUEThe result represents a set of all nodes matching the XPath expression. The order of nodes in the result is not defined.- See Also:
-
ORDERED_NODE_ITERATOR_VALUE
public static final int ORDERED_NODE_ITERATOR_VALUEThe result represents a set of all nodes matching the XPath expression. The nodes in the result are in the same order that they appear in the document.- See Also:
-
UNORDERED_NODE_SNAPSHOT_VALUE
public static final int UNORDERED_NODE_SNAPSHOT_VALUEThe result represents the snapshots of all nodes matching the XPath expression. The order of the nodes in the result is not defined.- See Also:
-
ORDERED_NODE_SNAPSHOT_VALUE
public static final int ORDERED_NODE_SNAPSHOT_VALUEThe result represents the snapshots of all nodes matching the XPath expression. The nodes in the result are in the same order that they appear in the document.- See Also:
-
ANY_UNORDERED_NODE_VALUE
public static final int ANY_UNORDERED_NODE_VALUEThe result represents a single node matching the XPath expression. The node is not necessarily the first node in the document that matches the expression.- See Also:
-
FIRST_ORDERED_NODE_VALUE
public static final int FIRST_ORDERED_NODE_VALUEThe result represents the first node in the document matching the XPath expression.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-