org.mybatis.generator.api
Interface XmlFormatter

All Known Implementing Classes:
DefaultXmlFormatter

public interface XmlFormatter

Objects implementing this interface are used to convert the internal representation of the XML DOM classes into a string suitable for saving to the file system. Note that the string generated by this class will be saved directly to the file system with no additional modifications. Only one instance of the class will be created in each context. Configuration can be passed into the class through the use of properties in the Context.

Author:
Jeff Butler

Method Summary
 String getFormattedContent(Document document)
           
 void setContext(Context context)
           
 

Method Detail

setContext

void setContext(Context context)

getFormattedContent

String getFormattedContent(Document document)


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.