Enum Class XPathResultType

java.lang.Object
java.lang.Enum<XPathResultType>
com.teamdev.jxbrowser.dom.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.

  • Enum Constant Details

    • XPATH_RESULT_TYPE_UNSPECIFIED

      public static final XPathResultType XPATH_RESULT_TYPE_UNSPECIFIED
      Reserved value.

    • ANY

      public static final XPathResultType ANY
      The result type is not set. In this case the type is a natural type of the evaluation result.

    • NUMBER

      public static final XPathResultType NUMBER
      The result contains a single number.

    • STRING

      public static final XPathResultType STRING
      The result contains a single string.

    • BOOLEAN

      public static final XPathResultType BOOLEAN
      The result contains a single boolean value.

    • UNORDERED_NODE_ITERATOR

      public static final XPathResultType 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

      public static final XPathResultType 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

      public static final XPathResultType 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

      public static final XPathResultType 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

      public static final XPathResultType 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

      public static final XPathResultType FIRST_ORDERED_NODE
      The result represents the first node in the document matching the XPath expression.

    • UNRECOGNIZED

      public static final XPathResultType UNRECOGNIZED
  • Field Details

    • XPATH_RESULT_TYPE_UNSPECIFIED_VALUE

      public static final int XPATH_RESULT_TYPE_UNSPECIFIED_VALUE
      Reserved value.

      See Also:
    • ANY_VALUE

      public static final int ANY_VALUE
      The 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_VALUE
      The result contains a single number.

      See Also:
    • STRING_VALUE

      public static final int STRING_VALUE
      The result contains a single string.

      See Also:
    • BOOLEAN_VALUE

      public static final int BOOLEAN_VALUE
      The result contains a single boolean value.

      See Also:
    • UNORDERED_NODE_ITERATOR_VALUE

      public static final int UNORDERED_NODE_ITERATOR_VALUE
      The 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_VALUE
      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.

      See Also:
    • UNORDERED_NODE_SNAPSHOT_VALUE

      public static final int UNORDERED_NODE_SNAPSHOT_VALUE
      The 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_VALUE
      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.

      See Also:
    • ANY_UNORDERED_NODE_VALUE

      public static final int ANY_UNORDERED_NODE_VALUE
      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.

      See Also:
    • FIRST_ORDERED_NODE_VALUE

      public static final int FIRST_ORDERED_NODE_VALUE
      The result represents the first node in the document matching the XPath expression.

      See Also:
  • Method Details

    • values

      public static XPathResultType[] 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

      public static XPathResultType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static XPathResultType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static XPathResultType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<XPathResultType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static XPathResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null