Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.util
Class DDMXMLUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.DDMXMLUtil

public class DDMXMLUtil
extends Object


Constructor Summary
DDMXMLUtil()
           
 
Method Summary
static String formatXML(Document document)
           
static String formatXML(String xml)
           
static DDMXML getDDMXML()
           
 void setDDMXML(DDMXML ddmXML)
           
static String updateXMLDefaultLocale(String xml, Locale contentDefaultLocale, Locale contentNewDefaultLocale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMXMLUtil

public DDMXMLUtil()
Method Detail

formatXML

public static String formatXML(Document document)
                        throws IOException
Throws:
IOException

formatXML

public static String formatXML(String xml)
                        throws DocumentException,
                               IOException
Throws:
DocumentException
IOException

getDDMXML

public static DDMXML getDDMXML()

updateXMLDefaultLocale

public static String updateXMLDefaultLocale(String xml,
                                            Locale contentDefaultLocale,
                                            Locale contentNewDefaultLocale)
                                     throws DocumentException,
                                            IOException
Throws:
DocumentException
IOException

setDDMXML

public void setDDMXML(DDMXML ddmXML)

Liferay 6.1.2-ce-ga3