## Uses of Class
org.apache.tapestry5.dom.Document

- Packages that use Document
  Package | Description
  --- | ---
  org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.dom | A Document Object Model, a tree of nodes representing elements, attributes and text within a document.
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.test | [INTERNAL USE ONLY] testing support implementation classes; API subject to change
  org.apache.tapestry5.services | Core services
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of Document in org.apache.tapestry5

    Methods in org.apache.tapestry5 that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | MarkupWriter.`getDocument()` | Returns the Document into which this writer creates elements or other nodes.

  - ### Uses of Document in org.apache.tapestry5.dom

    Methods in org.apache.tapestry5.dom that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | Document.`comment​(java.lang.String text)` | Adds the comment and returns this document for further construction.
    `Document` | Document.`getDocument()` |
    `Document` | Element.`getDocument()` |
    `Document` | Node.`getDocument()` |
    `Document` | Document.`raw​(java.lang.String text)` | Adds the raw text and returns this document for further construction.

    Methods in org.apache.tapestry5.dom with parameters of type Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Document.`toMarkup​(Document document, java.io.PrintWriter writer, java.util.Map<java.lang.String,​java.lang.String> namespaceURIToPrefix)` |

  - ### Uses of Document in org.apache.tapestry5.internal.services

    Methods in org.apache.tapestry5.internal.services that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | MarkupWriterImpl.`getDocument()` |
    `Document` | PageDocumentGeneratorImpl.`render​(java.lang.String logicalPageName)` |
    `Document` | PartialTemplateRendererImpl.`renderAsDocument​(java.lang.Object object)` |

    Methods in org.apache.tapestry5.internal.services with parameters of type Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | DocumentLinkerImpl.`updateDocument​(Document document)` | Updates the supplied Document, possibly adding <head> or <body> elements.

  - ### Uses of Document in org.apache.tapestry5.internal.test

    Methods in org.apache.tapestry5.internal.test that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | TestableResponse.`getRenderedDocument()` | Allows access to the rendered document.
    `Document` | TestableResponseImpl.`getRenderedDocument()` |

    Methods in org.apache.tapestry5.internal.test with parameters of type Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TestableResponse.`setRenderedDocument​(Document document)` | Invoked as part of the rendering pipeline to store the final rendered Document object.
    `void` | TestableResponseImpl.`setRenderedDocument​(Document document)` |

  - ### Uses of Document in org.apache.tapestry5.services

    Methods in org.apache.tapestry5.services that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | PageDocumentGenerator.`render​(java.lang.String logicalPageName)` | Renders the page.
    `Document` | PartialTemplateRenderer.`renderAsDocument​(java.lang.Object object)` | Renders an object to a `Document` following the same rules as `PartialTemplateRenderer.render(Object)` This method supposes any kind of initialization needed was already done.

  - ### Uses of Document in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return Document
    Modifier and Type | Method | Description
    --- | --- | ---
    `Document` | PageTester.`clickLink​(Element linkElement)` | Simulates a click on a link.
    `Document` | PageTester.`clickSubmit​(Element submitButton, java.util.Map<java.lang.String,​java.lang.String> fieldValues)` | Simulates a submission of the form by clicking the specified submit button.
    `Document` | PageTester.`renderPage​(java.lang.String pageName)` | Renders a page specified by its name.
    `Document` | PageTester.`submitForm​(Element form, java.util.Map<java.lang.String,​java.lang.String> parameters)` | Simulates a submission of the form specified.