|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.xml.XmlDomWriter
public class XmlDomWriter
| Field Summary | |
|---|---|
protected boolean |
fCanonical
Canonical output. |
protected PrintWriter |
fOut
Print writer. |
protected boolean |
fXML11
Processing XML 1.1 document. |
| Constructor Summary | |
|---|---|
XmlDomWriter()
Default constructor. |
|
XmlDomWriter(boolean canonical)
|
|
| Method Summary | |
|---|---|
protected void |
normalizeAndPrint(char c,
boolean isAttValue)
Normalizes and print the given character. |
protected void |
normalizeAndPrint(String s,
boolean isAttValue)
Normalizes and prints the given string. |
void |
setCanonical(boolean canonical)
Sets whether output is canonical. |
void |
setOutput(OutputStream stream,
String encoding)
Sets the output stream for printing. |
void |
setOutput(Writer writer)
Sets the output writer. |
protected Attr[] |
sortAttributes(NamedNodeMap attrs)
Returns a sorted list of attributes. |
void |
write(Node node)
Writes the specified node, recursively. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PrintWriter fOut
protected boolean fCanonical
protected boolean fXML11
| Constructor Detail |
|---|
public XmlDomWriter()
public XmlDomWriter(boolean canonical)
| Method Detail |
|---|
public void setCanonical(boolean canonical)
public void setOutput(OutputStream stream,
String encoding)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void setOutput(Writer writer)
public void write(Node node)
protected Attr[] sortAttributes(NamedNodeMap attrs)
protected void normalizeAndPrint(String s,
boolean isAttValue)
protected void normalizeAndPrint(char c,
boolean isAttValue)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||