Package org.hibernate.tool.internal.xml
Class DOM3LSPrettyPrinterStrategy
java.lang.Object
org.hibernate.tool.internal.xml.AbstractXMLPrettyPrinterStrategy
org.hibernate.tool.internal.xml.DOM3LSPrettyPrinterStrategy
- All Implemented Interfaces:
XMLPrettyPrinterStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DOMImplementationLSgetDomImplementationLS(Document document) booleanprotected LSOutputnewLSOutput(DOMImplementationLS domImplementationLS) protected LSSerializernewLSSerializer(DOMImplementationLS domImplementationLS) prettyPrint(String xml) voidsetOutputComments(boolean outputComments) Methods inherited from class org.hibernate.tool.internal.xml.AbstractXMLPrettyPrinterStrategy
newDocument, removeWhitespace
-
Constructor Details
-
DOM3LSPrettyPrinterStrategy
public DOM3LSPrettyPrinterStrategy()
-
-
Method Details
-
prettyPrint
- Throws:
Exception
-
getDomImplementationLS
-
newLSSerializer
-
newLSOutput
-
isOutputComments
public boolean isOutputComments() -
setOutputComments
public void setOutputComments(boolean outputComments)
-