程序包 | 说明 |
---|---|
org.opencms.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.workplace.editors |
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
|
org.opencms.xml.page |
Contains functions for unstructured content storage using XML, commonly called "XML pages" in OpenCms.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsXmlPage |
CmsXmlPageConverter.convertToXmlPage(CmsObject cms,
byte[] content,
java.util.Locale locale,
java.lang.String encoding)
已过时。
Converts the contents of a page into an xml page.
|
限定符和类型 | 字段和说明 |
---|---|
protected CmsXmlPage |
CmsDefaultPageEditor.m_page
Page object used from the action and init methods, be sure to initialize this e.g. in the initWorkplaceRequestValues method.
|
限定符和类型 | 方法和说明 |
---|---|
static java.util.List<CmsDialogElement> |
CmsDialogElements.computeElements(CmsObject cms,
CmsXmlPage xmlPage,
java.lang.String xmlPageUri,
java.util.Locale locale)
Creates a list of possible elements of a template from the template property "template-elements"
and the elements available in the provided xmlPage.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(byte[] xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (read) a XML page instance from a byte array
that contains XML data.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsFile file)
Factory method to unmarshal (read) a XML page instance from a OpenCms VFS file
that contains XML data.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding)
Factory method to unmarshal (read) a XML page instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a XML page instance from
a resource, using the request attributes as cache.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(java.lang.String xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (read) a XML page instance from a String
that contains XML data.
|