@Deprecated
public final class CmsXmlPageConverter
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static CmsXmlPage |
convertToXmlPage(CmsObject cms,
byte[] content,
java.util.Locale locale,
java.lang.String encoding)
已过时。
Converts the contents of a page into an xml page.
|
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 pageCmsImportExportException
- if the body content or the XMLTEMPLATE element were not foundCmsXmlException
- if there is an error reading xml contents from the byte array into a document