org.apache.maven.plugin.surefire.report
Class PrettyPrintXMLWriter

java.lang.Object
  extended by org.apache.maven.plugin.surefire.report.PrettyPrintXMLWriter
All Implemented Interfaces:
XMLWriter

public class PrettyPrintXMLWriter
extends Object
implements XMLWriter


Constructor Summary
PrettyPrintXMLWriter(PrintWriter writer)
           
 
Method Summary
 void addAttribute(String key, String value)
           
 void endElement()
           
protected  void endOfLine()
           
 void setDocType(String docType)
           
 void setEncoding(String encoding)
           
 void startElement(String name)
           
 void writeMarkup(String text)
           
 void writeText(String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyPrintXMLWriter

public PrettyPrintXMLWriter(PrintWriter writer)
Method Detail

setEncoding

public void setEncoding(String encoding)
Specified by:
setEncoding in interface XMLWriter

setDocType

public void setDocType(String docType)
Specified by:
setDocType in interface XMLWriter

startElement

public void startElement(String name)
Specified by:
startElement in interface XMLWriter

writeText

public void writeText(String text)
Specified by:
writeText in interface XMLWriter

writeMarkup

public void writeMarkup(String text)
Specified by:
writeMarkup in interface XMLWriter

addAttribute

public void addAttribute(String key,
                         String value)
Specified by:
addAttribute in interface XMLWriter

endElement

public void endElement()
Specified by:
endElement in interface XMLWriter

endOfLine

protected void endOfLine()


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.