The Encog Project

org.encog.bot.spider
Enum SpiderReportable.URLType

java.lang.Object
  extended by java.lang.Enum<SpiderReportable.URLType>
      extended by org.encog.bot.spider.SpiderReportable.URLType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SpiderReportable.URLType>
Enclosing interface:
SpiderReportable

public static enum SpiderReportable.URLType
extends java.lang.Enum<SpiderReportable.URLType>

The types of link that can be encountered.


Enum Constant Summary
HYPERLINK
          An HTML hyperlink.
IMAGE
          An HTML image.
SCRIPT
          An HTML Javascript block.
STYLE
          An HTML style sheet.
 
Method Summary
static SpiderReportable.URLType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SpiderReportable.URLType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HYPERLINK

public static final SpiderReportable.URLType HYPERLINK
An HTML hyperlink.


IMAGE

public static final SpiderReportable.URLType IMAGE
An HTML image.


SCRIPT

public static final SpiderReportable.URLType SCRIPT
An HTML Javascript block.


STYLE

public static final SpiderReportable.URLType STYLE
An HTML style sheet.

Method Detail

values

public static SpiderReportable.URLType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SpiderReportable.URLType c : SpiderReportable.URLType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SpiderReportable.URLType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

The Encog Project