Enum LinkHandlingUtilities.Part
- All Implemented Interfaces:
Serializable, Comparable<LinkHandlingUtilities.Part>
- Enclosing class:
LinkHandlingUtilities
Parallels the spec parts table
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Set<LinkHandlingUtilities.Part> (package private) final UnicodeSet(package private) static final int[](package private) final int(package private) final UnicodeSet(package private) final UnicodeSet -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePart(LinkHandlingUtilities.Structure structure, char initiator, String terminators, String clearStack, String extraQuoted, LinkHandlingUtilities.WhatWgPercentEncoded whatwg_quoted) -
Method Summary
Modifier and TypeMethodDescription(package private) static LinkHandlingUtilities.PartfromInitiator(int cp) private StringfullEscape(List<List<String>> source) static LinkHandlingUtilities.PartReturns the enum constant of this type with the specified name.static LinkHandlingUtilities.Part[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PROTOCOL
-
HOST
-
PATH
-
QUERY
-
FRAGMENT
-
-
Field Details
-
ALL
-
FRAGMENT_DIRECTIVE_STRING
static final int[] FRAGMENT_DIRECTIVE_STRING -
structure
-
initiator
final int initiator -
terminators
-
clearStack
-
whatwg_quoted
-
-
Constructor Details
-
Part
private Part(LinkHandlingUtilities.Structure structure, char initiator, String terminators, String clearStack, String extraQuoted, LinkHandlingUtilities.WhatWgPercentEncoded whatwg_quoted)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
fromInitiator
-
fullEscape
-