Package crawlercommons.sitemaps
Enum SiteMapCrossSubmitValidator.CrossSubmitValidationLevel
- java.lang.Object
-
- java.lang.Enum<SiteMapCrossSubmitValidator.CrossSubmitValidationLevel>
-
- crawlercommons.sitemaps.SiteMapCrossSubmitValidator.CrossSubmitValidationLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<SiteMapCrossSubmitValidator.CrossSubmitValidationLevel>
- Enclosing class:
- SiteMapCrossSubmitValidator
public static enum SiteMapCrossSubmitValidator.CrossSubmitValidationLevel extends Enum<SiteMapCrossSubmitValidator.CrossSubmitValidationLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HOST
Host name resp. full domain nameICANN_DOMAIN
Domain name below a suffix in the ICANN section of the public suffix list.PRIVATE_DOMAIN
Domain name below a public suffix, cf.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SiteMapCrossSubmitValidator.CrossSubmitValidationLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static SiteMapCrossSubmitValidator.CrossSubmitValidationLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ICANN_DOMAIN
public static final SiteMapCrossSubmitValidator.CrossSubmitValidationLevel ICANN_DOMAIN
Domain name below a suffix in the ICANN section of the public suffix list. Cf.EffectiveTldFinder
-
PRIVATE_DOMAIN
public static final SiteMapCrossSubmitValidator.CrossSubmitValidationLevel PRIVATE_DOMAIN
Domain name below a public suffix, cf.EffectiveTldFinder
-
HOST
public static final SiteMapCrossSubmitValidator.CrossSubmitValidationLevel HOST
Host name resp. full domain name
-
-
Method Detail
-
values
public static SiteMapCrossSubmitValidator.CrossSubmitValidationLevel[] 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 (SiteMapCrossSubmitValidator.CrossSubmitValidationLevel c : SiteMapCrossSubmitValidator.CrossSubmitValidationLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SiteMapCrossSubmitValidator.CrossSubmitValidationLevel valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-