fr.opensagres.xdocreport.core.internal
Class NoIndentNumberPrettyPrinter

java.lang.Object
  extended by fr.opensagres.xdocreport.core.internal.NoIndentNumberPrettyPrinter
All Implemented Interfaces:
IXMLPrettyPrinter

public class NoIndentNumberPrettyPrinter
extends Object
implements IXMLPrettyPrinter

XML Pretty Printer implemented with NOT "indent-number".


Field Summary
static IXMLPrettyPrinter INSTANCE
           
 
Constructor Summary
NoIndentNumberPrettyPrinter()
           
 
Method Summary
 String prettyPrint(String xml, int indent)
          Indent the given xml with the given indent number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final IXMLPrettyPrinter INSTANCE
Constructor Detail

NoIndentNumberPrettyPrinter

public NoIndentNumberPrettyPrinter()
Method Detail

prettyPrint

public String prettyPrint(String xml,
                          int indent)
                   throws Exception
Description copied from interface: IXMLPrettyPrinter
Indent the given xml with the given indent number.

Specified by:
prettyPrint in interface IXMLPrettyPrinter
Parameters:
xml - XML to indent
indent - the indent number.
Returns:
Throws:
Exception


Copyright © 2013. All rights reserved.