# Uses of Class
org.htmlunit.SgmlPage

Packages that use SgmlPage
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.util
Miscellaneous utilities.
org.htmlunit.xml
Classes specific to XML pages.

- ## Uses of SgmlPage in org.htmlunit

  Methods in org.htmlunit that return SgmlPage
  Modifier and Type
  Method
  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.

- ## Uses of SgmlPage in org.htmlunit.html

  Subclasses of SgmlPage in org.htmlunit.html
  Modifier and Type
  Class
  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.
  Methods in org.htmlunit.html that return SgmlPage
  Modifier and Type
  Method
  Description
  `SgmlPage`
  DomNode.`getPage()`
  Returns the page that contains this node.
  Methods in org.htmlunit.html with parameters of type SgmlPage
  Modifier and Type
  Method
  Description
  `HtmlElement`
  DefaultElementFactory.`createElement(SgmlPage page, String tagName, Attributes attributes)`
  `DomElement`
  ElementFactory.`createElement(SgmlPage page, String tagName, Attributes attributes)`
  Creates an element according to this factory's specification.
  `HtmlElement`
  UnknownElementFactory.`createElement(SgmlPage page, String tagName, Attributes attributes)`
  Creates an element according to this factory's specification.
  `HtmlElement`
  DefaultElementFactory.`createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)`
  `DomElement`
  ElementFactory.`createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)`
  Creates an element according to this factory's specification.
  `HtmlElement`
  UnknownElementFactory.`createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)`
  Creates an element according to this factory's specification.
  `void`
  XmlSerializer.`save(SgmlPage page, File file)`
  Constructors in org.htmlunit.html with parameters of type SgmlPage
  Modifier
  Constructor
  Description
  `protected`
  `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.
  `protected`
  `DomNamespaceNode(String namespaceURI, String qualifiedName, SgmlPage page)`
  Creates an instance of a DOM node that can have a namespace.
  `protected`
  `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.
  `protected`
  `HtmlElement(String namespaceURI, String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance of a DOM element that can have a namespace.
  `protected`
  `HtmlElement(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance.
  ``
  `HtmlInput(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance.
  ``
  `HtmlInput(SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance.
  `protected`
  `HtmlTableCell(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance.
  `protected`
  `HtmlTime(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates a new instance.
  `protected`
  `TableRowGroup(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)`
  Creates an instance of TableRowGroup.

- ## Uses of SgmlPage in org.htmlunit.util

  Methods in org.htmlunit.util with parameters of type SgmlPage
  Modifier and Type
  Method
  Description
  `static void`
  XmlUtils.`appendChild(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML)`
  Recursively appends a `Node` child to `DomNode` parent.
  `static void`
  XmlUtils.`appendChild(SgmlPage page, DomNode parent, Node child, boolean handleXHTMLAsHTML, Map<Integer,List<String>> attributesOrderMap)`
  Recursively appends a `Node` child to `DomNode` parent.

- ## Uses of SgmlPage in org.htmlunit.xml

  Subclasses of SgmlPage in org.htmlunit.xml
  Modifier and Type
  Class
  Description
  `class`
  `XmlPage`
  A page that will be returned for response with content type "text/xml".