public class PrettyPrintXMLWriter extends Object implements org.codehaus.plexus.util.xml.XMLWriter
Constructor and Description |
---|
PrettyPrintXMLWriter(PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String key,
String value) |
void |
endElement() |
protected void |
endOfLine() |
void |
startElement(String name) |
void |
writeMarkup(String text) |
void |
writeText(String text) |
public PrettyPrintXMLWriter(PrintWriter writer)
public void startElement(String name)
startElement
in interface org.codehaus.plexus.util.xml.XMLWriter
public void writeText(String text)
writeText
in interface org.codehaus.plexus.util.xml.XMLWriter
public void writeMarkup(String text)
writeMarkup
in interface org.codehaus.plexus.util.xml.XMLWriter
public void addAttribute(String key, String value)
addAttribute
in interface org.codehaus.plexus.util.xml.XMLWriter
public void endElement()
endElement
in interface org.codehaus.plexus.util.xml.XMLWriter
protected void endOfLine()
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.