|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.util.xml.PrettyPrintXMLWriter
org.apache.maven.tools.plugin.generator.PrettyPrintXMLWriter
public class PrettyPrintXMLWriter
Copied from plexus-utils 1.3-SNAPSHOT as we can't upgrade it yet. This class can be removed when a newer version of plexus-utils is included with Maven
PrettyPrintXMLWriter
Constructor Summary | |
---|---|
PrettyPrintXMLWriter(PrintWriter writer)
|
|
PrettyPrintXMLWriter(PrintWriter writer,
String lineIndenter)
|
|
PrettyPrintXMLWriter(PrintWriter writer,
String encoding,
String doctype)
|
|
PrettyPrintXMLWriter(PrintWriter writer,
String lineIndenter,
String encoding,
String doctype)
|
|
PrettyPrintXMLWriter(Writer writer)
|
|
PrettyPrintXMLWriter(Writer writer,
String lineIndenter)
|
|
PrettyPrintXMLWriter(Writer writer,
String encoding,
String doctype)
|
|
PrettyPrintXMLWriter(Writer writer,
String lineIndenter,
String encoding,
String doctype)
|
Method Summary | |
---|---|
void |
endElement()
|
protected void |
endOfLine()
Write the end of line character (using system line separator) and start new line with indentation |
protected int |
getDepth()
Get the current depth in the xml indentation |
protected String |
getLineIndenter()
Get the string used as line indenter |
protected PrintWriter |
getWriter()
Get the underlying writer |
protected void |
setDepth(int depth)
Set the current depth in the xml indentation |
protected void |
setLineIndenter(String lineIndenter)
Set the string used as line indenter |
protected void |
setWriter(PrintWriter writer)
Set the underlying writer |
void |
startElement(String name)
|
Methods inherited from class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter |
---|
addAttribute, writeMarkup, writeText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrettyPrintXMLWriter(PrintWriter writer, String lineIndenter)
public PrettyPrintXMLWriter(Writer writer, String lineIndenter)
public PrettyPrintXMLWriter(PrintWriter writer)
public PrettyPrintXMLWriter(Writer writer)
public PrettyPrintXMLWriter(PrintWriter writer, String lineIndenter, String encoding, String doctype)
public PrettyPrintXMLWriter(Writer writer, String lineIndenter, String encoding, String doctype)
public PrettyPrintXMLWriter(PrintWriter writer, String encoding, String doctype)
public PrettyPrintXMLWriter(Writer writer, String encoding, String doctype)
Method Detail |
---|
protected String getLineIndenter()
protected void setLineIndenter(String lineIndenter)
lineIndenter
- protected void endOfLine()
endOfLine
in class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
protected void setWriter(PrintWriter writer)
writer
- protected PrintWriter getWriter()
protected void setDepth(int depth)
depth
- protected int getDepth()
public void startElement(String name)
startElement
in interface org.codehaus.plexus.util.xml.XMLWriter
startElement
in class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
public void endElement()
endElement
in interface org.codehaus.plexus.util.xml.XMLWriter
endElement
in class org.codehaus.plexus.util.xml.PrettyPrintXMLWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |