Class AbstractXMLPrettyPrinterStrategy
java.lang.Object
org.hibernate.tool.reveng.internal.xml.AbstractXMLPrettyPrinterStrategy
- All Implemented Interfaces:
XMLPrettyPrinterStrategy
- Direct Known Subclasses:
DOM3LSPrettyPrinterStrategy, TrAXPrettyPrinterStrategy
public abstract class AbstractXMLPrettyPrinterStrategy
extends Object
implements XMLPrettyPrinterStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewDocument(String xml, String encoding) protected voidremoveWhitespace(Document document) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XMLPrettyPrinterStrategy
prettyPrint
-
Constructor Details
-
AbstractXMLPrettyPrinterStrategy
public AbstractXMLPrettyPrinterStrategy()
-
-
Method Details
-
newDocument
public Document newDocument(String xml, String encoding) throws SAXException, IOException, ParserConfigurationException -
removeWhitespace
- Throws:
XPathExpressionException
-