Package org.hibernate.tool.internal.xml
Class AbstractXMLPrettyPrinterStrategy
java.lang.Object
org.hibernate.tool.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 TypeMethodDescriptionprotected DocumentnewDocument(String xml, String encoding) protected voidremoveWhitespace(Document document) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.tool.api.xml.XMLPrettyPrinterStrategy
prettyPrint
-
Constructor Details
-
AbstractXMLPrettyPrinterStrategy
public AbstractXMLPrettyPrinterStrategy()
-
-
Method Details
-
newDocument
protected Document newDocument(String xml, String encoding) throws SAXException, IOException, ParserConfigurationException -
removeWhitespace
- Throws:
XPathExpressionException
-