Package org.apache.tapestry5.dom

## Class XMLMarkupModel

- java.lang.Object
- - org.apache.tapestry5.dom.AbstractMarkupModel
  - - org.apache.tapestry5.dom.XMLMarkupModel

- All Implemented Interfaces:
    `MarkupModel`

      public final class XMLMarkupModel
      extends AbstractMarkupModel

  Markup model used when generating any form of XML markup.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `XMLMarkupModel()` |
    `XMLMarkupModel​(boolean useApostropheForAttributes)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `EndTagStyle` | `getEndTagStyle​(String element)` | Always returns ABBREVIATE.
    `boolean` | `isXML()` | Returns true.

    - ### Methods inherited from class org.apache.tapestry5.dom.AbstractMarkupModel

      `encode, encodeQuoted, getAttributeQuote`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### XMLMarkupModel

          public XMLMarkupModel()

    - #### XMLMarkupModel

          public XMLMarkupModel​(boolean useApostropheForAttributes)

  - ### Method Detail

    - #### getEndTagStyle

          public EndTagStyle getEndTagStyle​(String element)

      Always returns ABBREVIATE.

    - #### isXML

          public boolean isXML()

      Returns true.
      Returns:
        true for XML output, false for HTML output