org.apache.tapestry5.dom
Class XMLMarkupModel

java.lang.Object
  extended by org.apache.tapestry5.dom.AbstractMarkupModel
      extended by 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
XMLMarkupModel()
           
XMLMarkupModel(boolean useApostropheForAttributes)
           
 
Method Summary
 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


Copyright © 2003-2012 The Apache Software Foundation.