Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.html |
Classes specific to html pages
|
com.gargoylesoftware.htmlunit.javascript |
Classes in this package are specific for the javascript engine - users of HtmlUnit shouldn't
need anything in this package.
|
com.gargoylesoftware.htmlunit.javascript.host |
Implementations of the various javascript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
com.gargoylesoftware.htmlunit.xml |
Classes specific to xml pages
|
Modifier and Type | Method and Description |
---|---|
String |
ScriptPreProcessor.preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseFrame
Base class for frame and iframe.
|
class |
ClickableElement
Intermediate base class for "clickable" HTML elements.
|
class |
FocusableElement
Deprecated.
As of 1.14, please use
ClickableElement instead. |
class |
HtmlAddress
Wrapper for the html element "address".
|
class |
HtmlAnchor
Wrapper for the html element "a"
|
class |
HtmlApplet
Wrapper for the html element "applet".
|
class |
HtmlArea
Wrapper for the html element "area".
|
class |
HtmlBase
Wrapper for the html element "base".
|
class |
HtmlBaseFont
Wrapper for the html element "basefont".
|
class |
HtmlBidirectionalOverride
Wrapper for the html element "bdo".
|
class |
HtmlBlockQuote
Wrapper for the html element "blockquote".
|
class |
HtmlBody
Wrapper for the html element "body".
|
class |
HtmlBreak
Wrapper for the html element "br".
|
class |
HtmlButton
Wrapper for the html element "button"
|
class |
HtmlButtonInput
Wrapper for the HTML element "input" where type is "button".
|
class |
HtmlCaption
Wrapper for the html element "caption".
|
class |
HtmlCenter
Wrapper for the html element "center".
|
class |
HtmlCheckBoxInput
Wrapper for the html element "input"
|
class |
HtmlDefinitionDescription
Wrapper for the html element "dd".
|
class |
HtmlDefinitionList
Wrapper for the html element "dl".
|
class |
HtmlDefinitionTerm
Wrapper for the html element "dt".
|
class |
HtmlDeletedText
Wrapper for the html element "del".
|
class |
HtmlDivision
Wrapper for the html element "div".
|
class |
HtmlFieldSet
Wrapper for the html element "fieldset".
|
class |
HtmlFileInput
Wrapper for the HTML element "input".
|
class |
HtmlFont
Wrapper for the html element "font".
|
class |
HtmlForm
Wrapper for the html element "form"
|
class |
HtmlFrame
Wrapper for the html element "frame".
|
class |
HtmlFrameSet
Wrapper for the html element "frameset".
|
class |
HtmlHead
Wrapper for the html element "head".
|
class |
HtmlHeader1
Wrapper for the html element "h1".
|
class |
HtmlHeader2
Wrapper for the html element "h2".
|
class |
HtmlHeader3
Wrapper for the html element "h3".
|
class |
HtmlHeader4
Wrapper for the html element "h4".
|
class |
HtmlHeader5
Wrapper for the html element "h5".
|
class |
HtmlHeader6
Wrapper for the html element "h6".
|
class |
HtmlHiddenInput
Wrapper for the html element "input" of type "hidden".
|
class |
HtmlHorizontalRule
Wrapper for the html element "hr".
|
class |
HtmlHtml
A representation of an html element "html".
|
class |
HtmlImage
Wrapper for the html element "img".
|
class |
HtmlImageInput
Wrapper for the html element "input"
|
class |
HtmlInlineFrame
Wrapper for the HTML element "iframe".
|
class |
HtmlInlineQuotation
Wrapper for the html element "q".
|
class |
HtmlInput
Wrapper for the html element "input"
|
class |
HtmlInsertedText
Wrapper for the html element "ins".
|
class |
HtmlIsIndex
Wrapper for the html element "isindex".
|
class |
HtmlLabel
Wrapper for the html element "label".
|
class |
HtmlLegend
Wrapper for the html element "legend".
|
class |
HtmlLink
Wrapper for the html element "link".
|
class |
HtmlListItem
Wrapper for the html element "li".
|
class |
HtmlMap
Wrapper for the html element "map".
|
class |
HtmlMenu
Wrapper for the html element "menu".
|
class |
HtmlMeta
Wrapper for the HTML element "meta".
|
class |
HtmlNoFrames
Wrapper for the html element "noframes".
|
class |
HtmlNoScript
Wrapper for the html element "noscript".
|
class |
HtmlObject
Wrapper for the html element "object".
|
class |
HtmlOption
Wrapper for the html element "option"
|
class |
HtmlOptionGroup
Wrapper for the html element "optgroup".
|
class |
HtmlOrderedList
Wrapper for the html element "ol".
|
class |
HtmlParagraph
Wrapper for the html element "p".
|
class |
HtmlParameter
Wrapper for the html element "param".
|
class |
HtmlPasswordInput
Wrapper for the html element "input"
|
class |
HtmlPreformattedText
Wrapper for the html element "pre".
|
class |
HtmlRadioButtonInput
Wrapper for the html element "input"
|
class |
HtmlResetInput
Wrapper for the html element "input"
|
class |
HtmlScript
Wrapper for the html element "script".
When a script tag references an external script (with attribute src) it gets executed when the node is added to the DOM tree. |
class |
HtmlSelect
Wrapper for the HTML element "select".
|
class |
HtmlSpan
Wrapper for the html element "span".
|
class |
HtmlStyle
Wrapper for the html element "style".
|
class |
HtmlSubmitInput
Wrapper for the HTML element "input".
|
class |
HtmlTable
Wrapper for the HTML element "table".
|
class |
HtmlTableBody
Wrapper for the html element "tbody".
|
class |
HtmlTableCell
An abstract cell that provides the implementation for HtmlTableDataCell and
HtmlTableHeaderCell.
|
class |
HtmlTableColumn
Wrapper for the html element "col".
|
class |
HtmlTableColumnGroup
Wrapper for the html element "colgroup".
|
class |
HtmlTableDataCell
Wrapper for the html element "td"
|
class |
HtmlTableFooter
Wrapper for the html element "tfoot".
|
class |
HtmlTableHeader
Wrapper for the html element "thead".
|
class |
HtmlTableHeaderCell
Wrapper for the html "th" tag
|
class |
HtmlTableRow
Wrapper for the html element "tr"
|
class |
HtmlTextArea
Wrapper for the html element "textarea"
|
class |
HtmlTextDirection
Wrapper for the html element "dir".
|
class |
HtmlTextInput
Wrapper for the html element "input".
|
class |
HtmlTitle
Wrapper for the html element "title".
|
class |
HtmlUnorderedList
Wrapper for the html element "ul".
|
class |
StyledElement
Intermediate base class for "styled" HTML elements.
|
class |
TableRowGroup
Wrapper for the html element "tfoot".
|
class |
UnknownHtmlElement
An element that is returned for an html tag that is not supported by this
framework.
|
Modifier and Type | Method and Description |
---|---|
HtmlElement |
HtmlElement.appendChildIfNoneExists(String tagName)
Appends a child element to this HTML element with the specified tag name
if this HTML element does not already have a child with that tag name.
|
HtmlElement |
IElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
create an element according to this factory's specification.
|
HtmlElement |
InputElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
Create an HtmlElement for the specified xmlElement, contained in the specified page.
|
HtmlElement |
UnknownElementFactory.createElement(HtmlPage page,
String tagName,
Attributes attributes)
create an element according to this factory's specification.
|
HtmlElement |
HtmlPage.createElement(String tagName)
Deprecated.
This method conflicts with the W3C DOM API since the return values are
different. Use createHtmlElement instead.
|
HtmlElement |
IElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification.
|
HtmlElement |
InputElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification.
|
HtmlElement |
UnknownElementFactory.createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification.
|
HtmlElement |
HtmlPage.createElementNS(String namespaceURI,
String qualifiedName)
Deprecated.
This method conflicts with the W3C DOM API since the return values are
different. Use createHtmlElementNS instead.
|
HtmlElement |
HtmlPage.createHtmlElement(String tagName)
Create a new HTML element with the given tag name.
|
HtmlElement |
HtmlPage.createHtmlElementNS(String namespaceURI,
String qualifiedName)
Create a new HtmlElement with the given namespace and qualified name.
|
HtmlElement |
HtmlPage.getDocumentElement()
Deprecated.
This method conflicts with the W3C DOM API since the return values are
different. Use getDocumentHtmlElement instead.
|
HtmlElement |
HtmlPage.getDocumentHtmlElement()
Get the root HtmlElement of this document.
|
HtmlElement |
HtmlPage.getElementWithFocus()
Return the element with the focus or null if no element has the focus.
|
HtmlElement |
HtmlElement.getEnclosingElement(String tagName)
Return the element with the given name that enclosed this element or null if this element is
no such element is found.
|
HtmlElement |
HtmlAttributeChangeEvent.getHtmlElement()
Return the HtmlElement that changed.
|
HtmlElement |
HtmlPage.getHtmlElementByAccessKey(char accessKey)
Returns the HTML element that is assigned to the specified access key.
|
HtmlElement |
HtmlElement.getHtmlElementById(String id)
Return the html element with the specified id.
|
HtmlElement |
HtmlPage.getHtmlElementById(String id)
Returns the HTML element with the specified ID.
|
HtmlElement |
HtmlElement.getOneHtmlElementByAttribute(String elementName,
String attributeName,
String attributeValue)
Search by the specified criteria and return the first HtmlElement that is found
|
HtmlElement |
HtmlElement.ChildElementsIterator.nextElement() |
HtmlElement |
DomNode.DescendantElementsIterator.nextElement() |
HtmlElement |
HtmlPage.pressAccessKey(char accessKey)
Simulate pressing an access key.
|
HtmlElement |
HtmlPage.tabToNextElement()
Move the focus to the next element in the tab order.
|
HtmlElement |
HtmlPage.tabToPreviousElement()
Move the focus to the previous element in the tab order.
|
Modifier and Type | Method and Description |
---|---|
ScriptResult |
HtmlPage.executeJavaScriptIfPossible(String sourceCode,
String sourceName,
HtmlElement htmlElement)
Deprecated.
use
HtmlPage.executeJavaScript(String) instead |
boolean |
HtmlPage.moveFocusToElement(HtmlElement newElement)
Move the focus to the specified component.
|
Constructor and Description |
---|
HtmlAttr(HtmlElement htmlElement,
Map.Entry mapEntry)
Deprecated.
Use constructor with explicit names.
|
HtmlAttributeChangeEvent(HtmlElement element,
String name,
String value)
Constructs a new AttributeEvent from the given element
for the given attribute name and attribute value.
|
HtmlElement.MapEntryWrappingIterator(Iterator iterator,
HtmlElement htmlElement)
Deprecated.
Wraps a new iterator around an iterator of attributes.
|
Modifier and Type | Method and Description |
---|---|
String |
JavaScriptEngine.preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page using the processor specified
in the webclient.
|
String |
IEConditionalCompilationScriptPreProcessor.preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page.
|
void |
SimpleScriptable.setHtmlElement(HtmlElement htmlElement)
Set the html element that corresponds to this javascript object
|
Constructor and Description |
---|
NamedNodeMap(HtmlElement element)
Creates a new named node map for the specified element.
|
Modifier and Type | Method and Description |
---|---|
HtmlElement |
HTMLElement.getHtmlElementOrDie()
Return the html element that corresponds to this javascript object or throw an exception
if one cannot be found.
|
HtmlElement |
HTMLElement.getHtmlElementOrNull()
Return the html element that corresponds to this javascript object
or null if an element hasn't been set.
|
Modifier and Type | Method and Description |
---|---|
void |
Attribute.init(String name,
HtmlElement parent)
Initializes this attribute.
|
protected org.xml.sax.helpers.AttributesImpl |
HTMLElement.readAttributes(HtmlElement element)
Gets the attributes of the element in the form of a
Attributes |
void |
HTMLFormElement.setHtmlElement(HtmlElement htmlElement)
Set the html element that corresponds to this javascript object
|
Modifier and Type | Method and Description |
---|---|
static String |
XmlUtil.lookupNamespaceURI(HtmlElement element,
String prefix)
Search for the namespace URI of the given prefix, starting from the specified element.
|
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.