com.liferay.portlet.dynamicdatamapping.util
Interface DDMXML


public interface DDMXML

Author:
Bruno Basto, Brian Wing Shun Chan

Method Summary
 java.lang.String formatXML(Document document)
           
 java.lang.String formatXML(java.lang.String xml)
           
 java.lang.String updateXMLDefaultLocale(java.lang.String xml, java.util.Locale contentDefaultLocale, java.util.Locale contentNewDefaultLocale)
           
 

Method Detail

formatXML

java.lang.String formatXML(Document document)
                           throws java.io.IOException
Throws:
java.io.IOException

formatXML

java.lang.String formatXML(java.lang.String xml)
                           throws DocumentException,
                                  java.io.IOException
Throws:
DocumentException
java.io.IOException

updateXMLDefaultLocale

java.lang.String updateXMLDefaultLocale(java.lang.String xml,
                                        java.util.Locale contentDefaultLocale,
                                        java.util.Locale contentNewDefaultLocale)
                                        throws DocumentException,
                                               java.io.IOException
Throws:
DocumentException
java.io.IOException