# Uses of Interface
org.apache.tapestry5.dom.MarkupModel

Packages that use MarkupModel
Package
Description
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

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

  Classes in org.apache.tapestry5.dom that implement MarkupModel
  Modifier and Type
  Class
  Description
  `class`
  `AbstractMarkupModel`
  `class`
  `DefaultMarkupModel`
  Default implementation of `MarkupModel` that is appropriate for traditional (X)HTML markup.
  `class`
  `Html5MarkupModel`
  Implementation of `MarkupModel` that correctly handles HTML5 void elements.
  `final class`
  `XMLMarkupModel`
  Markup model used when generating any form of XML markup.
  Methods in org.apache.tapestry5.dom that return MarkupModel
  Modifier and Type
  Method
  Description
  `MarkupModel`
  Document.`getMarkupModel()`
  Constructors in org.apache.tapestry5.dom with parameters of type MarkupModel
  Modifier
  Constructor
  Description
  ``
  `Document(MarkupModel model)`
  Same as Document(model, null).
  ``
  `Document(MarkupModel model, String encoding)`
  Same as Document(model, encoding, null).
  ``
  `Document(MarkupModel model, String encoding, String mimeType)`
  Creates a document instance with a given markup model, encoding and MIME type.

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

  Constructors in org.apache.tapestry5.internal.services with parameters of type MarkupModel
  Modifier
  Constructor
  Description
  ``
  `MarkupWriterImpl(MarkupModel model)`
  ``
  `MarkupWriterImpl(MarkupModel model, String encoding, String mimeType)`