org.apache.wink.common.model
Class XmlFormattingOptions

java.lang.Object
  extended by org.apache.wink.common.model.XmlFormattingOptions
All Implemented Interfaces:
java.lang.Cloneable

public class XmlFormattingOptions
extends java.lang.Object
implements java.lang.Cloneable

Holds the following XML Formatting Options:

Can be used by XML representations to give a control over the formation of XML output.


Constructor Summary
XmlFormattingOptions()
           
XmlFormattingOptions(boolean omitXmlDeclaration, boolean indenting)
           
 
Method Summary
static XmlFormattingOptions getDefaultXmlFormattingOptions()
           
 boolean isIndenting()
           
 boolean isOmitXmlDeclaration()
           
static void setDefaultXmlFormattingOptions(XmlFormattingOptions defaultXmlFormattingOptions)
           
 void setIndenting(boolean indenting)
           
 void setOmitXmlDeclaration(boolean omitXmlDeclaration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlFormattingOptions

public XmlFormattingOptions()

XmlFormattingOptions

public XmlFormattingOptions(boolean omitXmlDeclaration,
                            boolean indenting)
Method Detail

isIndenting

public boolean isIndenting()

setIndenting

public void setIndenting(boolean indenting)

getDefaultXmlFormattingOptions

public static XmlFormattingOptions getDefaultXmlFormattingOptions()

setDefaultXmlFormattingOptions

public static void setDefaultXmlFormattingOptions(XmlFormattingOptions defaultXmlFormattingOptions)

setOmitXmlDeclaration

public void setOmitXmlDeclaration(boolean omitXmlDeclaration)

isOmitXmlDeclaration

public boolean isOmitXmlDeclaration()


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.