org.apache.pluto.descriptors.services
Interface PortletAppDescriptorService

All Known Implementing Classes:
PortletAppDescriptorServiceImpl, PortletAppDescriptorServiceImpl

public interface PortletAppDescriptorService

Read/Write services for Portlet Application configuration This service reads the portlet.xml and converts it to a standard bean model.

Since:
Mar 6, 2005
Version:
$Id: PortletAppDescriptorService.java 157038 2005-03-11 03:44:40Z ddewolf $
Author:
David H. DeWolf

Method Summary
 PortletAppDD read(InputStream in)
          Retrieve the PortletApp deployment descriptor (portlet.xml).
 void write(PortletAppDD portletDescriptor, OutputStream out)
          Write the PortletApp deployment descriptor (portlet.xml).
 

Method Detail

read

PortletAppDD read(InputStream in)
                  throws IOException
Retrieve the PortletApp deployment descriptor (portlet.xml).

Returns:
Object representation of the descriptor.
Throws:
IOException - if an IO error occurs.

write

void write(PortletAppDD portletDescriptor,
           OutputStream out)
           throws IOException
Write the PortletApp deployment descriptor (portlet.xml).

Parameters:
portletDescriptor -
out -
Throws:
IOException - if an IO error occurs.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.