com.liferay.portlet.dynamicdatamapping.util
Class DDMXMLImpl
java.lang.Object
com.liferay.portlet.dynamicdatamapping.util.DDMXMLImpl
- All Implemented Interfaces:
- DDMXML
public class DDMXMLImpl
- extends Object
- implements DDMXML
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMXMLImpl
public DDMXMLImpl()
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)