Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
org.htmlunit.html |
Classes specific to HTML pages, particularly the
HtmlPage which represents
an HTML document and provides access to its content. |
org.htmlunit.html.parser |
Contains the html parser interface.
|
org.htmlunit.html.parser.neko |
Contains the neko html parser.
|
org.htmlunit.javascript.host.dom |
Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
org.htmlunit.javascript.host.html |
Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
org.htmlunit.svg |
Classes specific to Scalable Vector Graphics.
|
org.htmlunit.util |
Miscellaneous utilities.
|
org.htmlunit.xml |
Classes specific to XML pages.
|
Modifier and Type | Method and Description |
---|---|
protected SgmlPage |
SgmlPage.clone ()
Creates a clone of this instance.
|
protected SgmlPage |
DefaultPageCreator.createXmlPage (WebResponse webResponse,
WebWindow webWindow)
Creates an SgmlPage for this WebResponse.
|
SgmlPage |
SgmlPage.getPage ()
Returns the page that contains this node.
|
Modifier and Type | Class and Description |
---|---|
class |
HtmlPage
A representation of an HTML page returned from a server.
|
class |
XHtmlPage
A representation of an XHTML page returned from a server.
|
Modifier and Type | Method and Description |
---|---|
SgmlPage |
DomNode.getPage ()
Returns the page that contains this node.
|
Modifier and Type | Method and Description |
---|---|
HtmlElement |
UnknownElementFactory.createElement (SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification.
|
DomElement |
ElementFactory.createElement (SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification.
|
HtmlElement |
DefaultElementFactory.createElement (SgmlPage page,
String tagName,
Attributes attributes) |
HtmlElement |
UnknownElementFactory.createElementNS (SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification.
|
DomElement |
ElementFactory.createElementNS (SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification.
|
HtmlElement |
DefaultElementFactory.createElementNS (SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes) |
void |
XmlSerializer.save (SgmlPage page,
File file)
Saves the given
SgmlPage to the file. |
Constructor and Description |
---|
BaseFrameElement (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance of BaseFrame.
|
DomAttr (SgmlPage page,
String namespaceURI,
String qualifiedName,
String value,
boolean specified)
Instantiate a new attribute.
|
DomCDataSection (SgmlPage page,
String data)
Creates a new instance.
|
DomCharacterData (SgmlPage page,
String data)
Creates an instance of DomCharacterData.
|
DomComment (SgmlPage page,
String data)
Creates an instance of DomComment.
|
DomDocumentFragment (SgmlPage page)
Creates a new instance.
|
DomDocumentType (SgmlPage page,
String name,
String publicId,
String systemId)
Creates a new instance.
|
DomElement (String namespaceURI,
String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance of a DOM element that can have a namespace.
|
DomNamespaceNode (String namespaceURI,
String qualifiedName,
SgmlPage page)
Creates an instance of a DOM node that can have a namespace.
|
DomNode (SgmlPage page)
Creates a new instance.
|
DomProcessingInstruction (SgmlPage page,
String target,
String data)
Creates a new instance.
|
DomText (SgmlPage page,
String data)
Creates an instance of DomText.
|
HtmlBody (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes,
boolean temporary)
Creates a new instance.
|
HtmlDivision (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance of HtmlDivision.
|
HtmlElement (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance.
|
HtmlElement (String namespaceURI,
String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance of a DOM element that can have a namespace.
|
HtmlInput (SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance.
|
HtmlInput (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance.
|
HtmlTableCell (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance.
|
HtmlTime (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates a new instance.
|
TableRowGroup (String qualifiedName,
SgmlPage page,
Map<String,DomAttr> attributes)
Creates an instance of TableRowGroup.
|
Modifier and Type | Method and Description |
---|---|
ElementFactory |
HTMLParser.getElementFactory (SgmlPage page,
String namespaceURI,
String qualifiedName,
boolean insideSvg,
boolean svgSupport)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
ElementFactory |
HtmlUnitNekoHtmlParser.getElementFactory (SgmlPage page,
String namespaceURI,
String qualifiedName,
boolean insideSvg,
boolean svgSupport)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
SgmlPage |
Document.getPage ()
Returns the page that this document is modeling.
|
Constructor and Description |
---|
ProxyDomNode (SgmlPage page,
DomNode target,
boolean append)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DomElement |
SvgElementFactory.createElement (SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification.
|
DomElement |
SvgElementFactory.createElementNS (SgmlPage page,
String namespaceURI,
String qualifiedNameLC,
Attributes attributes)
Creates an element according to this factory's specification.
|
Modifier and Type | Method and Description |
---|---|
static void |
XmlUtils.appendChild (SgmlPage page,
DomNode parent,
Node child,
boolean handleXHTMLAsHTML)
|
static void |
XmlUtils.appendChild (SgmlPage page,
DomNode parent,
Node child,
boolean handleXHTMLAsHTML,
Map<Integer,List<String>> attributesOrderMap)
|
Modifier and Type | Class and Description |
---|---|
class |
XmlPage
A page that will be returned for response with content type "text/xml".
|
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.