public class DocumentViewOutputter
extends org.jdom.output.XMLOutputter
XMLOutputter
which print every attribute to a separate line and exposes some private method from the parent class.Constructor and Description |
---|
DocumentViewOutputter() |
Modifier and Type | Method and Description |
---|---|
protected void |
attributeSeparator(Writer out) |
String |
getApostropheChars() |
String |
getAsignmentChars() |
protected int |
getCurrentLevel() |
String |
getSeparatorChars() |
protected void |
indent(Writer out,
int level) |
protected void |
newline(Writer out) |
protected void |
printAttributes(Writer out,
List attributes,
org.jdom.Element parent,
org.jdom.output.XMLOutputter.NamespaceStack namespaces) |
protected void |
printElement(Writer out,
org.jdom.Element element,
int level,
org.jdom.output.XMLOutputter.NamespaceStack namespaces) |
protected void |
printName(Writer out,
org.jdom.Attribute a) |
protected void |
printQualifiedName(Writer out,
org.jdom.Attribute a) |
void |
setApostropheChars(String apostropheChars) |
void |
setAsignmentChars(String asignmentChars) |
protected void |
setCurrentLevel(int currentLevel) |
void |
setSeparatorChars(String separatorChars) |
protected List<org.jdom.Attribute> |
sortAttributes(List attributes) |
clone, escapeAttributeEntities, escapeElementEntities, getFormat, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, output, outputElementContent, outputElementContent, outputString, outputString, outputString, outputString, outputString, outputString, outputString, outputString, outputString, printCDATA, printComment, printDeclaration, printDocType, printEntityRef, printProcessingInstruction, printText, setFormat, toString
protected void printElement(Writer out, org.jdom.Element element, int level, org.jdom.output.XMLOutputter.NamespaceStack namespaces) throws IOException
printElement
in class org.jdom.output.XMLOutputter
IOException
protected void printAttributes(Writer out, List attributes, org.jdom.Element parent, org.jdom.output.XMLOutputter.NamespaceStack namespaces) throws IOException
printAttributes
in class org.jdom.output.XMLOutputter
IOException
protected void attributeSeparator(Writer out) throws IOException
IOException
protected void indent(Writer out, int level) throws IOException
IOException
protected void newline(Writer out) throws IOException
IOException
protected void printQualifiedName(Writer out, org.jdom.Attribute a) throws IOException
IOException
protected void printName(Writer out, org.jdom.Attribute a) throws IOException
IOException
protected List<org.jdom.Attribute> sortAttributes(List attributes) throws IOException
IOException
protected int getCurrentLevel()
protected void setCurrentLevel(int currentLevel)
public String getSeparatorChars()
public void setSeparatorChars(String separatorChars)
public String getApostropheChars()
public void setApostropheChars(String apostropheChars)
public String getAsignmentChars()
public void setAsignmentChars(String asignmentChars)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.