org.apache.maven.surefire.util
Class PrettyPrintXMLWriter

java.lang.Object
  extended by org.apache.maven.surefire.util.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 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

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-2011 The Apache Software Foundation. All Rights Reserved.