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 SystemException
- Throws:
SystemException
formatXML
public static java.lang.String formatXML(java.lang.String xml)
throws SystemException
- Throws:
SystemException
getDDMXML
public static DDMXML getDDMXML()
getFields
public static Fields getFields(DDMStructure structure,
java.lang.String xml)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFields
public static Fields getFields(DDMStructure structure,
XPath xPath,
java.lang.String xml,
java.util.List<java.lang.String> fieldNames)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getXML
public static java.lang.String getXML(Document document,
Fields fields)
throws SystemException
- Throws:
SystemException
getXML
public static java.lang.String getXML(Fields fields)
throws SystemException
- Throws:
SystemException
updateXMLDefaultLocale
public static java.lang.String updateXMLDefaultLocale(java.lang.String xml,
java.util.Locale contentDefaultLocale,
java.util.Locale contentNewDefaultLocale)
throws SystemException
- Throws:
SystemException
validateXML
public static java.lang.String validateXML(java.lang.String xml)
throws PortalException
- Throws:
PortalException
setDDMXML
public void setDDMXML(DDMXML ddmXML)