net.sf.oval.constraint
Enum AssertURLCheck.URIScheme
java.lang.Object
java.lang.Enum<AssertURLCheck.URIScheme>
net.sf.oval.constraint.AssertURLCheck.URIScheme
- All Implemented Interfaces:
- Serializable, Comparable<AssertURLCheck.URIScheme>
- Enclosing class:
- AssertURLCheck
public static enum AssertURLCheck.URIScheme
- extends Enum<AssertURLCheck.URIScheme>
http://en.wikipedia.org/wiki/URI_scheme
- Author:
- Sebastian Thomschke
FTP
public static final AssertURLCheck.URIScheme FTP
HTTP
public static final AssertURLCheck.URIScheme HTTP
HTTPS
public static final AssertURLCheck.URIScheme HTTPS
values
public static final AssertURLCheck.URIScheme[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AssertURLCheck.URIScheme c : AssertURLCheck.URIScheme.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AssertURLCheck.URIScheme 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 name
getScheme
public String getScheme()
- Returns:
- the scheme
toString
public String toString()
- Overrides:
toString
in class Enum<AssertURLCheck.URIScheme>
Copyright © 2005-2013 The OVal Development Team. All Rights Reserved.