|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HtmlElement | |
---|---|
com.gargoylesoftware.htmlunit | Framework classes (contains the WebClient class which is the main entry point). |
com.gargoylesoftware.htmlunit.html | Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content. |
Uses of HtmlElement in com.gargoylesoftware.htmlunit |
---|
Methods in com.gargoylesoftware.htmlunit with parameters of type HtmlElement | |
---|---|
String |
ScriptPreProcessor.preProcess(HtmlPage htmlPage,
String sourceCode,
String sourceName,
int lineNumber,
HtmlElement htmlElement)
Pre process the specified source code in the context of the given page. |
Uses of HtmlElement in com.gargoylesoftware.htmlunit.html |
---|
Subclasses of HtmlElement in com.gargoylesoftware.htmlunit.html | |
---|---|
class |
BaseFrame
Base class for frame and iframe. |
class |
HtmlAbbreviated
Wrapper for the HTML element "abbr". |
class |
HtmlAcronym
Wrapper for the HTML element "acronym". |
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 |
HtmlAudio
Wrapper for the HTML element "audio". |
class |
HtmlBackgroundSound
Wrapper for the HTML element "bgsound". |
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 |
HtmlBig
Wrapper for the HTML element "big". |
class |
HtmlBlink
Wrapper for the HTML element "blink". |
class |
HtmlBlockQuote
Wrapper for the HTML element "blockquote". |
class |
HtmlBody
Wrapper for the HTML element "body". |
class |
HtmlBold
Wrapper for the HTML element "b". |
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 |
HtmlCanvas
Wrapper for the HTML element "canvas". |
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 |
HtmlCitation
Wrapper for the HTML element "cite". |
class |
HtmlCode
Wrapper for the HTML element "code". |
class |
HtmlDefinition
Wrapper for the HTML element "dfn". |
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 |
HtmlDirectory
Wrapper for the HTML element "dir". |
class |
HtmlDivision
Wrapper for the HTML element "div". |
class |
HtmlEmbed
Wrapper for the HTML element "embed". |
class |
HtmlEmphasis
Wrapper for the HTML element "em". |
class |
HtmlExample
Wrapper for the HTML element "xmp". |
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 |
HtmlHeading1
Wrapper for the HTML element "h1". |
class |
HtmlHeading2
Wrapper for the HTML element "h2". |
class |
HtmlHeading3
Wrapper for the HTML element "h3". |
class |
HtmlHeading4
Wrapper for the HTML element "h4". |
class |
HtmlHeading5
Wrapper for the HTML element "h5". |
class |
HtmlHeading6
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 |
HtmlItalic
Wrapper for the HTML element "i". |
class |
HtmlKeyboard
Wrapper for the HTML element "kbd". |
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 |
HtmlListing
Wrapper for the HTML element "listing". |
class |
HtmlListItem
Wrapper for the HTML element "li". |
class |
HtmlMap
Wrapper for the HTML element "map". |
class |
HtmlMarquee
Wrapper for the HTML element "marquee". |
class |
HtmlMenu
Wrapper for the HTML element "menu". |
class |
HtmlMeta
Wrapper for the HTML element "meta". |
class |
HtmlMultiColumn
Wrapper for the HTML element "multicol". |
class |
HtmlNoBreak
Wrapper for the HTML element "nobr". |
class |
HtmlNoEmbed
Wrapper for the HTML element "noembed". |
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 |
HtmlPlainText
Wrapper for the HTML element "plaintext". |
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 |
HtmlS
Wrapper for the HTML element "s", a strike-through text style. |
class |
HtmlSample
Wrapper for the HTML element "samp". |
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 |
HtmlSmall
Wrapper for the HTML element "small". |
class |
HtmlSource
Wrapper for the HTML element "source". |
class |
HtmlSpacer
Wrapper for the HTML element "spacer". |
class |
HtmlSpan
Wrapper for the HTML element "span". |
class |
HtmlStrike
Wrapper for the HTML element "strike". |
class |
HtmlStrong
Wrapper for the HTML element "strong". |
class |
HtmlStyle
Wrapper for the HTML element "style". |
class |
HtmlSubmitInput
Wrapper for the HTML element "input". |
class |
HtmlSubscript
Wrapper for the HTML element "sub". |
class |
HtmlSuperscript
Wrapper for the HTML element "sup". |
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 |
HtmlTeletype
Wrapper for the HTML element "tt". |
class |
HtmlTextArea
Wrapper for the HTML element "textarea". |
class |
HtmlTextInput
Wrapper for the HTML element "input" with type="text". |
class |
HtmlTitle
Wrapper for the HTML element "title". |
class |
HtmlUnderlined
Wrapper for the HTML element "u". |
class |
HtmlUnknownElement
An element that is returned for an HTML tag that is not supported by this framework. |
class |
HtmlUnorderedList
Wrapper for the HTML element "ul". |
class |
HtmlVariable
Wrapper for the HTML element "var". |
class |
HtmlVideo
Wrapper for the HTML element "video". |
class |
HtmlWordBreak
Wrapper for the HTML element "wbr". |
class |
TableRowGroup
Superclass for the wrappers for the HTML elements "thead", "tbody" and "tfoot". |
Methods in com.gargoylesoftware.htmlunit.html with type parameters of type HtmlElement | ||
---|---|---|
|
HtmlElement.getElementById(String id)
Returns the element in this element's page with the specified ID. |
|
|
HtmlPage.getElementByName(String name)
Returns the HTML element with the specified name. |
|
|
HtmlElement.getElementsByAttribute(String elementName,
String attributeName,
String attributeValue)
Returns all elements which are descendants of this element and match the specified search criteria. |
|
|
HtmlPage.getHtmlElementById(String id)
Returns the HTML element with the specified ID. |
|
|
HtmlPage.getHtmlElementById(String id,
boolean caseSensitive)
Returns the HTML element with the specified ID. |
|
|
HtmlElement.getHtmlElementsByTagName(String tagName)
Returns the HTML elements that are descendants of this element and that have the specified tag name. |
|
|
HtmlElement.getOneHtmlElementByAttribute(String elementName,
String attributeName,
String attributeValue)
Searches for an element based on the specified criteria, returning the first element which matches said criteria. |
Methods in com.gargoylesoftware.htmlunit.html that return HtmlElement | |
---|---|
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 |
UnknownElementFactory.createElement(SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
InputElementFactory.createElement(SgmlPage page,
String tagName,
Attributes attributes)
Creates an HtmlElement for the specified xmlElement, contained in the specified page. |
HtmlElement |
IElementFactory.createElement(SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
HtmlPage.createElement(String tagName)
Creates an element, the type of which depends on the specified tag name. |
HtmlElement |
UnknownElementFactory.createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
InputElementFactory.createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
IElementFactory.createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
HtmlPage.createElementNS(String namespaceURI,
String qualifiedName)
Create a new Element with the given namespace and qualified name. |
HtmlElement |
HtmlPage.getBody()
Returns the body element (or frameset element), or null if it does not yet exist. |
HtmlElement |
HtmlPage.getDocumentElement()
Returns the document element. |
HtmlElement |
HtmlPage.getElementByAccessKey(char accessKey)
Returns the HTML element that is assigned to the specified access key. |
HtmlElement |
HtmlPage.getElementById(String elementId)
|
HtmlElement |
HtmlElement.getEnclosingElement(String tagName)
Returns the first element with the specified tag name that is an ancestor to this element, or null if no such element is found. |
HtmlElement |
HtmlPage.getFocusedElement()
Returns the element with the focus or null if no element has the focus. |
HtmlElement |
HtmlAttributeChangeEvent.getHtmlElement()
Returns the HtmlElement that changed. |
HtmlElement |
HtmlLabel.getReferencedElement()
Gets the element referenced by this label. |
HtmlElement |
HtmlElement.ChildElementsIterator.next()
|
HtmlElement |
HtmlElement.ChildElementsIterator.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. |
Methods in com.gargoylesoftware.htmlunit.html that return types with arguments of type HtmlElement | |
---|---|
Iterable<HtmlElement> |
DomNode.getAllHtmlChildElements()
Deprecated. as of 2.7, please use DomNode.getHtmlElementDescendants() instead |
Iterable<HtmlElement> |
HtmlElement.getChildElements()
|
List<HtmlElement> |
HtmlPage.getElementsByAccessKey(char accessKey)
Returns all the HTML elements that are assigned to the specified access key. |
List<HtmlElement> |
HtmlPage.getElementsByIdAndOrName(String idAndOrName)
Returns the HTML elements with the specified string for their name or ID. |
List<HtmlElement> |
HtmlPage.getElementsByName(String name)
Returns the HTML elements with the specified name attribute. |
DomNodeList<HtmlElement> |
DomElement.getElementsByTagName(String tagName)
|
DomNodeList<HtmlElement> |
HtmlPage.getElementsByTagName(String tagName)
|
DomNodeList<HtmlElement> |
DomElement.getElementsByTagNameNS(String namespace,
String localName)
Not yet implemented. |
DomNodeList<HtmlElement> |
HtmlPage.getElementsByTagNameNS(String namespaceURI,
String localName)
Not yet implemented. |
Iterable<HtmlElement> |
DomNode.getHtmlElementDescendants()
Returns an Iterable that will recursively iterate over all of this node's HtmlElement
descendants. |
List<HtmlElement> |
HtmlElement.getHtmlElementsByTagNames(List<String> tagNames)
Returns the HTML elements that are descendants of this element and that have one of the specified tag names. |
List<HtmlElement> |
HtmlForm.getLostChildren()
Gets the form elements that may be submitted but that don't belong to the form's children in the DOM due to incorrect HTML code. |
List<HtmlElement> |
HtmlPage.getTabbableElements()
Returns a list of all elements that are tabbable in the order that will be used for tabbing. |
Methods in com.gargoylesoftware.htmlunit.html with parameters of type HtmlElement | |
---|---|
boolean |
HtmlPage.setFocusedElement(HtmlElement newElement)
Moves the focus to the specified element. |
boolean |
HtmlPage.setFocusedElement(HtmlElement newElement,
boolean windowActivated)
Moves the focus to the specified element. |
Constructors in com.gargoylesoftware.htmlunit.html with parameters of type HtmlElement | |
---|---|
HtmlAttributeChangeEvent(HtmlElement element,
String name,
String value)
Constructs a new AttributeEvent from the given element, for the given attribute name and attribute value. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |