corpus-services  1.0
de.uni_hamburg.corpora.utilities.PrettyPrinter Class Reference
+ Collaboration diagram for de.uni_hamburg.corpora.utilities.PrettyPrinter:

Public Member Functions

 PrettyPrinter ()
 
String indent (String xml, String suppressedElements) throws TransformerException, ParserConfigurationException, UnsupportedEncodingException, SAXException, IOException, XPathExpressionException
 
String indent (String xml, String suppressedElements, String xslString) throws TransformerException, ParserConfigurationException, UnsupportedEncodingException, SAXException, IOException, XPathExpressionException
 

Detailed Description

Author
Daniel Jettka

Definition at line 31 of file PrettyPrinter.java.

Constructor & Destructor Documentation

de.uni_hamburg.corpora.utilities.PrettyPrinter.PrettyPrinter ( )

Definition at line 37 of file PrettyPrinter.java.

Member Function Documentation

String de.uni_hamburg.corpora.utilities.PrettyPrinter.indent ( String  xml,
String  suppressedElements 
) throws TransformerException, ParserConfigurationException, UnsupportedEncodingException, SAXException, IOException, XPathExpressionException

pretty-prints (indents) XML

Parameters
xmlThe input XML string
suppressedElementsblank-separated list of QNames for elements to be disregarded for indentation
Returns
indented XML string

Definition at line 48 of file PrettyPrinter.java.

String de.uni_hamburg.corpora.utilities.PrettyPrinter.indent ( String  xml,
String  suppressedElements,
String  xslString 
) throws TransformerException, ParserConfigurationException, UnsupportedEncodingException, SAXException, IOException, XPathExpressionException

pretty-prints (indents) XML

Parameters
xmlThe input XML string
suppressedElementsblank-separated list of QNames for elements to be disregarded for indentation
Returns
indented XML string

Definition at line 63 of file PrettyPrinter.java.


The documentation for this class was generated from the following file: