protected class CmsContainerpageController.SaveDataVisitor extends java.lang.Object implements CmsContainerpageController.I_PageContentVisitor
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.String |
m_containerName
The current container name.
|
protected CmsContainerJso |
m_currentContainer
The contaienr which is currently being processed.
|
protected java.util.List<CmsContainer> |
m_resultContainers
The list of collected containers.
|
限定符 | 构造器和说明 |
---|---|
protected |
CmsContainerpageController.SaveDataVisitor() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
beginContainer(java.lang.String name,
CmsContainerJso container)
This method is called before a container is processed.
|
void |
endContainer()
This method is called after all elements of a container have been processed.
|
java.util.List<CmsContainer> |
getContainers()
Gets the list of collected containers.
|
void |
handleElement(CmsContainerPageElementPanel elementWidget)
This method is called for each element of a container.
|
protected java.lang.String m_containerName
protected CmsContainerJso m_currentContainer
protected java.util.List<CmsContainer> m_resultContainers
protected CmsContainerpageController.SaveDataVisitor()
public boolean beginContainer(java.lang.String name, CmsContainerJso container)
If the method returns false, the container will be skipped.
beginContainer
在接口中 CmsContainerpageController.I_PageContentVisitor
name
- the container namecontainer
- the container data objectCmsContainerpageController.I_PageContentVisitor.beginContainer(java.lang.String, org.opencms.ade.containerpage.client.CmsContainerJso)
public void endContainer()
public java.util.List<CmsContainer> getContainers()
public void handleElement(CmsContainerPageElementPanel elementWidget)
handleElement
在接口中 CmsContainerpageController.I_PageContentVisitor
elementWidget
- the container elementCmsContainerpageController.I_PageContentVisitor.handleElement(org.opencms.ade.containerpage.client.ui.CmsContainerPageElementPanel)