org.mybatis.generator.api.dom
Class DefaultXmlFormatter
java.lang.Object
org.mybatis.generator.api.dom.DefaultXmlFormatter
- All Implemented Interfaces:
- XmlFormatter
public class DefaultXmlFormatter
- extends Object
- implements XmlFormatter
This class is the default formatter for generated XML. This class will use the
built in formatting of the DOM classes directly.
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected Context context
DefaultXmlFormatter
public DefaultXmlFormatter()
getFormattedContent
public String getFormattedContent(Document document)
- Specified by:
getFormattedContent
in interface XmlFormatter
setContext
public void setContext(Context context)
- Specified by:
setContext
in interface XmlFormatter
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.