Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatamapping.util
Interface DDMXML


public interface DDMXML


Method Summary
 String formatXML(Document document)
           
 String formatXML(String xml)
           
 Fields getFields(DDMStructure structure, String xml)
           
 Fields getFields(DDMStructure structure, XPath xPath, String xml, List<String> fieldNames)
           
 String getXML(Document document, Fields fields)
           
 String getXML(Fields fields)
           
 String updateXMLDefaultLocale(String xml, Locale contentDefaultLocale, Locale contentNewDefaultLocale)
           
 String validateXML(String xml)
           
 

Method Detail

formatXML

String formatXML(Document document)
                 throws SystemException
Throws:
SystemException

formatXML

String formatXML(String xml)
                 throws SystemException
Throws:
SystemException

getFields

Fields getFields(DDMStructure structure,
                 String xml)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getFields

Fields getFields(DDMStructure structure,
                 XPath xPath,
                 String xml,
                 List<String> fieldNames)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getXML

String getXML(Document document,
              Fields fields)
              throws SystemException
Throws:
SystemException

getXML

String getXML(Fields fields)
              throws SystemException
Throws:
SystemException

updateXMLDefaultLocale

String updateXMLDefaultLocale(String xml,
                              Locale contentDefaultLocale,
                              Locale contentNewDefaultLocale)
                              throws SystemException
Throws:
SystemException

validateXML

String validateXML(String xml)
                   throws PortalException
Throws:
PortalException

Liferay 6.2-ce-ga5