Package org.hibernate.tool.internal.xml
Class TrAXPrettyPrinterStrategy
java.lang.Object
org.hibernate.tool.internal.xml.AbstractXMLPrettyPrinterStrategy
org.hibernate.tool.internal.xml.TrAXPrettyPrinterStrategy
- All Implemented Interfaces:
XMLPrettyPrinterStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanprotected TransformernewTransformer(Document document) protected TransformerFactoryprettyPrint(String xml) voidsetIndent(int indent) voidsetOmitXmlDeclaration(boolean omitXmlDeclaration) Methods inherited from class org.hibernate.tool.internal.xml.AbstractXMLPrettyPrinterStrategy
newDocument, removeWhitespace
-
Constructor Details
-
TrAXPrettyPrinterStrategy
public TrAXPrettyPrinterStrategy()
-
-
Method Details
-
prettyPrint
- Throws:
Exception
-
newTransformer
-
newTransformerFactory
-
getIndent
public int getIndent() -
setIndent
public void setIndent(int indent) -
isOmitXmlDeclaration
public boolean isOmitXmlDeclaration() -
setOmitXmlDeclaration
public void setOmitXmlDeclaration(boolean omitXmlDeclaration)
-