Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.util
Class DDMXMLImpl

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.DDMXMLImpl
All Implemented Interfaces:
DDMXML

public class DDMXMLImpl
extends Object
implements DDMXML


Constructor Summary
DDMXMLImpl()
           
 
Method Summary
protected  void fixElementsDefaultLocale(Element element, Locale contentDefaultLocale, Locale contentNewDefaultLocale)
           
 String formatXML(Document document)
           
 String formatXML(String xml)
           
 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

DDMXMLImpl

public DDMXMLImpl()
Method Detail

formatXML

public String formatXML(Document document)
                 throws IOException
Specified by:
formatXML in interface DDMXML
Throws:
IOException

formatXML

public String formatXML(String xml)
                 throws DocumentException,
                        IOException
Specified by:
formatXML in interface DDMXML
Throws:
DocumentException
IOException

updateXMLDefaultLocale

public String updateXMLDefaultLocale(String xml,
                                     Locale contentDefaultLocale,
                                     Locale contentNewDefaultLocale)
                              throws DocumentException,
                                     IOException
Specified by:
updateXMLDefaultLocale in interface DDMXML
Throws:
DocumentException
IOException

fixElementsDefaultLocale

protected void fixElementsDefaultLocale(Element element,
                                        Locale contentDefaultLocale,
                                        Locale contentNewDefaultLocale)

Liferay 6.1.2-ce-ga3