|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.importexport.CmsXmlPageConverter
public final class CmsXmlPageConverter
Converts legacy pages (OpenCms 5 and earlier) to XML pages (OpenCms 6).
Method Summary | |
---|---|
static CmsXmlPage |
convertToXmlPage(CmsObject cms,
byte[] content,
java.util.Locale locale,
java.lang.String encoding)
Deprecated. Converts the contents of a page into an xml page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CmsXmlPage convertToXmlPage(CmsObject cms, byte[] content, java.util.Locale locale, java.lang.String encoding) throws CmsImportExportException, CmsXmlException
cms
- the cms objectcontent
- the content used with xml templateslocale
- the locale of the body element(s)encoding
- the encoding to the xml page
CmsImportExportException
- if the body content or the XMLTEMPLATE element were not found
CmsXmlException
- if there is an error reading xml contents from the byte array into a document
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |