public enum Hop extends Enum<Hop>
Enum Constant and Description |
---|
EMBED
Embedded links necessary to render the page, like IMG/@SRC.
|
INFERRED
Inferred/implied links -- not necessarily literally in the source
material, but deduced by convention.
|
NAVLINK
Navigation links, like A/@HREF.
|
PREREQ
Implied prerequisite links, like dns or robots.
|
REFER
Referral/redirect links, like header 'Location:' on a 301/302 response.
|
SPECULATIVE
Speculative/aggressively extracted links, perhaps embed or nav,
as in javascript.
|
SUBMIT
Synthesized form-submit
|
Modifier and Type | Method and Description |
---|---|
char |
getHopChar()
Returns a hop character suitable for display in logs.
|
String |
getHopString() |
static Hop |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hop[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hop NAVLINK
public static final Hop PREREQ
public static final Hop EMBED
public static final Hop SPECULATIVE
public static final Hop REFER
public static final Hop INFERRED
public static final Hop SUBMIT
protected String hopString
public static Hop[] values()
for (Hop c : Hop.values()) System.out.println(c);
public static Hop valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char getHopChar()
public String getHopString()
Copyright © 2003–2019 Internet Archive. All rights reserved.