org.apache.pluto.descriptors.services
Interface PortletAppDescriptorService


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 $

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

Method Detail

read

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

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

write

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

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


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