Class PortletWindowRegistryWriter
- java.lang.Object
-
- com.sun.portal.portletcontainer.admin.PortletRegistryWriter
-
- com.sun.portal.portletcontainer.admin.registry.PortletWindowRegistryWriter
-
public class PortletWindowRegistryWriter extends PortletRegistryWriter
PortletWindowRegistryWriter is responsible for updating the portlet-window-registry.xml file
-
-
Field Summary
-
Fields inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
context, registryLocation
-
-
Constructor Summary
Constructors Constructor Description PortletWindowRegistryWriter(String registryLocation, String context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDocument(List<PortletRegistryElement> portletWindowElementList)
Appends contents in the list to the specified registry xml file in the file system.void
writeDocument(List<PortletRegistryElement> portletWindowElementList)
Writes the contents in the list to the specified registry xml file in the file system.-
Methods inherited from class com.sun.portal.portletcontainer.admin.PortletRegistryWriter
write
-
-
-
-
Method Detail
-
appendDocument
public void appendDocument(List<PortletRegistryElement> portletWindowElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Appends contents in the list to the specified registry xml file in the file system.- Specified by:
appendDocument
in classPortletRegistryWriter
- Parameters:
portletWindowElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
writeDocument
public void writeDocument(List<PortletRegistryElement> portletWindowElementList) throws PortletRegistryException
Description copied from class:PortletRegistryWriter
Writes the contents in the list to the specified registry xml file in the file system.- Specified by:
writeDocument
in classPortletRegistryWriter
- Parameters:
portletWindowElementList
- aList
of Portlet registry elements- Throws:
PortletRegistryException
-
-