public static enum WebBrowser.ContentType extends Enum<WebBrowser.ContentType>
Enum Constant and Description |
---|
IMAGE |
OBJECT
Indicates a generic object (plugin-handled content typically falls under this category)
|
SCRIPT
Indicates an executable script (such as JavaScript).
|
STYLESHEET
Indicates a stylesheet
|
SUBDOCUMENT
indicates a document contained within another document (for example, IFRAMEs, FRAMES, and OBJECTs)
|
Modifier and Type | Method and Description |
---|---|
static WebBrowser.ContentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebBrowser.ContentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebBrowser.ContentType IMAGE
public static final WebBrowser.ContentType OBJECT
public static final WebBrowser.ContentType SCRIPT
public static final WebBrowser.ContentType STYLESHEET
public static final WebBrowser.ContentType SUBDOCUMENT
public static WebBrowser.ContentType[] values()
for (WebBrowser.ContentType c : WebBrowser.ContentType.values()) System.out.println(c);
public static WebBrowser.ContentType 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 nullCopyright © 2020 OXPath Team. All rights reserved.