|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xact.operations.XMLPrinter
public class XMLPrinter
Prints XML templates to output streams.
| Method Summary | |
|---|---|
static String |
getElementStringValue(Element e)
Returns the string value of an element. |
static void |
print(XML x,
OutputStream out,
String encoding,
boolean gaps,
boolean xmldecl)
Prints the given XML template. |
static void |
print(XML x,
OutputStream out,
String encoding,
boolean gaps,
boolean xmldecl,
XMLIndentation indentation)
Prints the given XML template. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getElementStringValue(Element e)
public static void print(XML x,
OutputStream out,
String encoding,
boolean gaps,
boolean xmldecl)
throws UnsupportedEncodingException
gaps - if set, gaps are printed, otherwise they are skippedxmldecl - if set, include XML declaration (and DOCTYPE if XHTML)
XMLWellformednessException - if XML declaration is enabled and the result is not a wellformed XML document
UnsupportedEncodingException - if the encoding is not supported
public static void print(XML x,
OutputStream out,
String encoding,
boolean gaps,
boolean xmldecl,
XMLIndentation indentation)
throws UnsupportedEncodingException
gaps - if set, gaps are printed, otherwise they are skippedxmldecl - if set, include XML declaration (and DOCTYPE if XHTML)indentation - how to insert indentation
XMLWellformednessException - if XML declaration is enabled and the result is not a wellformed XML document
UnsupportedEncodingException - if the encoding is not supported
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||