org.apache.pluto.descriptors.services.jaxb
Class PortletAppDescriptorServiceImpl

java.lang.Object
  extended by org.apache.pluto.descriptors.services.jaxb.PortletAppDescriptorServiceImpl
All Implemented Interfaces:
PortletAppDescriptorService

public class PortletAppDescriptorServiceImpl
extends java.lang.Object
implements PortletAppDescriptorService

JAXB implementation of the xml2java binding

Author:
Christian Raschka TODO: better error handling

Constructor Summary
PortletAppDescriptorServiceImpl()
           
 
Method Summary
 PortletAppDD read(java.io.InputStream in)
          Read the Web Application Deployment Descriptor.
 void write(PortletAppDD portlet, java.io.OutputStream out)
          Write the deployment descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletAppDescriptorServiceImpl

public PortletAppDescriptorServiceImpl()
Method Detail

read

public PortletAppDD read(java.io.InputStream in)
                  throws java.io.IOException
Read the Web Application Deployment Descriptor.

Specified by:
read in interface PortletAppDescriptorService
Returns:
WebAppDD instance representing the descriptor.
Throws:
java.io.IOException

write

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

Specified by:
write in interface PortletAppDescriptorService
Parameters:
portlet -
Throws:
java.io.IOException


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