public class DDMXMLImpl
extends java.lang.Object
implements com.liferay.portlet.dynamicdatamapping.util.DDMXML
| Constructor and Description |
|---|
DDMXMLImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendField(com.liferay.portal.kernel.xml.Element element,
com.liferay.portlet.dynamicdatamapping.storage.Field field) |
protected void |
fixElementsDefaultLocale(com.liferay.portal.kernel.xml.Element element,
java.util.Locale contentDefaultLocale,
java.util.Locale contentNewDefaultLocale) |
java.lang.String |
formatXML(com.liferay.portal.kernel.xml.Document document) |
java.lang.String |
formatXML(java.lang.String xml) |
protected java.util.List<com.liferay.portal.kernel.xml.Node> |
getElementsByName(com.liferay.portal.kernel.xml.Document document,
java.lang.String name) |
com.liferay.portlet.dynamicdatamapping.storage.Fields |
getFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
java.lang.String xml) |
com.liferay.portlet.dynamicdatamapping.storage.Fields |
getFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.XPath xPath,
java.lang.String xml,
java.util.List<java.lang.String> fieldNames) |
java.lang.String |
getXML(com.liferay.portal.kernel.xml.Document document,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields) |
java.lang.String |
getXML(com.liferay.portlet.dynamicdatamapping.storage.Fields fields) |
void |
setXMLSchema(com.liferay.portal.kernel.xml.XMLSchema xmlSchema) |
protected void |
updateField(com.liferay.portal.kernel.xml.Element dynamicContentElement,
java.io.Serializable fieldValue) |
java.lang.String |
updateXMLDefaultLocale(java.lang.String xml,
java.util.Locale contentDefaultLocale,
java.util.Locale contentNewDefaultLocale) |
java.lang.String |
validateXML(java.lang.String xml) |
public java.lang.String formatXML(com.liferay.portal.kernel.xml.Document document)
throws com.liferay.portal.kernel.exception.SystemException
formatXML in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String formatXML(java.lang.String xml)
throws com.liferay.portal.kernel.exception.SystemException
formatXML in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatamapping.storage.Fields getFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
java.lang.String xml)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getFields in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.dynamicdatamapping.storage.Fields getFields(com.liferay.portlet.dynamicdatamapping.model.DDMStructure structure,
com.liferay.portal.kernel.xml.XPath xPath,
java.lang.String xml,
java.util.List<java.lang.String> fieldNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getFields in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getXML(com.liferay.portal.kernel.xml.Document document,
com.liferay.portlet.dynamicdatamapping.storage.Fields fields)
throws com.liferay.portal.kernel.exception.SystemException
getXML in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getXML(com.liferay.portlet.dynamicdatamapping.storage.Fields fields)
throws com.liferay.portal.kernel.exception.SystemException
getXML in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.SystemExceptionpublic void setXMLSchema(com.liferay.portal.kernel.xml.XMLSchema xmlSchema)
public java.lang.String updateXMLDefaultLocale(java.lang.String xml,
java.util.Locale contentDefaultLocale,
java.util.Locale contentNewDefaultLocale)
throws com.liferay.portal.kernel.exception.SystemException
updateXMLDefaultLocale in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String validateXML(java.lang.String xml)
throws com.liferay.portal.kernel.exception.PortalException
validateXML in interface com.liferay.portlet.dynamicdatamapping.util.DDMXMLcom.liferay.portal.kernel.exception.PortalExceptionprotected void appendField(com.liferay.portal.kernel.xml.Element element,
com.liferay.portlet.dynamicdatamapping.storage.Field field)
protected void fixElementsDefaultLocale(com.liferay.portal.kernel.xml.Element element,
java.util.Locale contentDefaultLocale,
java.util.Locale contentNewDefaultLocale)
protected java.util.List<com.liferay.portal.kernel.xml.Node> getElementsByName(com.liferay.portal.kernel.xml.Document document,
java.lang.String name)
protected void updateField(com.liferay.portal.kernel.xml.Element dynamicContentElement,
java.io.Serializable fieldValue)