Liferay 7.0-ce-m3

com.liferay.portlet.dynamicdatamapping.util
Interface DDMXML

All Known Implementing Classes:
DDMXMLImpl

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)

formatXML

String formatXML(String xml)

getFields

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

getFields

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

getXML

String getXML(Document document,
              Fields fields)

getXML

String getXML(Fields fields)

updateXMLDefaultLocale

String updateXMLDefaultLocale(String xml,
                              Locale contentDefaultLocale,
                              Locale contentNewDefaultLocale)

validateXML

String validateXML(String xml)
                   throws PortalException
Throws:
PortalException

Liferay 7.0-ce-m3