com.liferay.portlet.dynamicdatamapping.util
Class DDMXMLUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.util.DDMXMLUtil
public class DDMXMLUtil
- extends java.lang.Object
- Author:
- Bruno Basto, Brian Wing Shun Chan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DDMXMLUtil
public DDMXMLUtil()
formatXML
public static java.lang.String formatXML(Document document)
throws java.io.IOException
- Throws:
java.io.IOException
formatXML
public static java.lang.String formatXML(java.lang.String xml)
throws DocumentException,
java.io.IOException
- Throws:
DocumentException
java.io.IOException
getDDMXML
public static DDMXML getDDMXML()
updateXMLDefaultLocale
public static 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
setDDMXML
public void setDDMXML(DDMXML ddmXML)