|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TestType> org.w3c.mwi.mobileok.basic.TestType
public enum TestType
Enumerates the individual tests run by the mobileOK Checker.
The list maintained by the W3C mobileOK Checker Task Force is the list of mobileOK tests defined in the W3C mobileOK Basic Tests 1.0 W3C standard.
To extend or modify the list of tests run by the Checker, update the
TestType
enumeration and the static mapping it defines between the
name of the test and the Java classes that implement the test.
A test must implement the TestImplementation
interface.
TestImplementation
Field Summary | |
---|---|
private static java.util.Map<TestType,TestImplementation> |
implementations
Mapping table between the names of the test and instances of the classes that implement them. |
Method Summary | |
---|---|
(package private) static TestImplementation |
getImplementation(TestType type)
|
static TestType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TestType[] |
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 |
---|
public static final TestType MAIN_DOCUMENT
public static final TestType AUTO_REFRESH
public static final TestType CACHING
public static final TestType CHARACTER_ENCODING_SUPPORT
public static final TestType CONTENT_FORMAT_SUPPORT
public static final TestType DEFAULT_INPUT_MODE
public static final TestType EXTERNAL_RESOURCES
public static final TestType GRAPHICS_FOR_SPACING
public static final TestType IMAGE_MAPS
public static final TestType IMAGES_SPECIFY_SIZE
public static final TestType LINK_TARGET_FORMAT
public static final TestType MEASURES
public static final TestType MINIMIZE
public static final TestType NO_FRAMES
public static final TestType NON_TEXT_ALTERNATIVES
public static final TestType OBJECTS_OR_SCRIPT
public static final TestType PAGE_SIZE_LIMIT
public static final TestType PAGE_TITLE
public static final TestType POP_UPS
public static final TestType PROVIDE_DEFAULTS
public static final TestType STYLE_SHEETS_SUPPORT
public static final TestType STYLE_SHEETS_USE
public static final TestType TABLES_ALTERNATIVES
public static final TestType TABLES_LAYOUT
public static final TestType TABLES_NESTED
Field Detail |
---|
private static final java.util.Map<TestType,TestImplementation> implementations
Method Detail |
---|
public static TestType[] values()
for (TestType c : TestType.values()) System.out.println(c);
public static TestType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullstatic TestImplementation getImplementation(TestType type)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |