Package com.teamdev.jxbrowser.dom
Enum Class DocumentPosition
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<DocumentPosition>
,Constable
@Generated("Generated by the protocol buffer compiler")
public enum DocumentPosition
extends Enum<DocumentPosition>
implements com.google.protobuf.ProtocolMessageEnum
Describes how the position of the other node relates to the position of the reference node.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe other node contains the reference node.The reference node contains the other node.The nodes are disconnected.Reserved value.The position of the other node follows the position of the reference node.The node positions depend on the DOM implementation and cannot be compared.The position of the other node precedes the position of the reference node. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The other node contains the reference node.static final int
The reference node contains the other node.static final int
The nodes are disconnected.static final int
Reserved value.static final int
The position of the other node follows the position of the reference node.static final int
The node positions depend on the DOM implementation and cannot be compared.static final int
The position of the other node precedes the position of the reference node. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentPosition
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<DocumentPosition>
static DocumentPosition
valueOf
(int value) Deprecated.static DocumentPosition
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static DocumentPosition
Returns the enum constant of this class with the specified name.static DocumentPosition[]
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
-
DOCUMENT_POSITION_UNSPECIFIED
Reserved value. -
DISCONNECTED
The nodes are disconnected. -
PRECEDING
The position of the other node precedes the position of the reference node. -
FOLLOWING
The position of the other node follows the position of the reference node. -
CONTAINS
The reference node contains the other node. -
CONTAINED_BY
The other node contains the reference node. -
IMPLEMENTATION_SPECIFIC
The node positions depend on the DOM implementation and cannot be compared. -
UNRECOGNIZED
-
-
Field Details
-
DOCUMENT_POSITION_UNSPECIFIED_VALUE
public static final int DOCUMENT_POSITION_UNSPECIFIED_VALUEReserved value.- See Also:
-
DISCONNECTED_VALUE
public static final int DISCONNECTED_VALUEThe nodes are disconnected.- See Also:
-
PRECEDING_VALUE
public static final int PRECEDING_VALUEThe position of the other node precedes the position of the reference node.- See Also:
-
FOLLOWING_VALUE
public static final int FOLLOWING_VALUEThe position of the other node follows the position of the reference node.- See Also:
-
CONTAINS_VALUE
public static final int CONTAINS_VALUEThe reference node contains the other node.- See Also:
-
CONTAINED_BY_VALUE
public static final int CONTAINED_BY_VALUEThe other node contains the reference node.- See Also:
-
IMPLEMENTATION_SPECIFIC_VALUE
public static final int IMPLEMENTATION_SPECIFIC_VALUEThe node positions depend on the DOM implementation and cannot be compared.- 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
-