org.apache.pluto.descriptors.services.jaxb
Class PortletAppDescriptorServiceImpl
java.lang.Object
org.apache.pluto.descriptors.services.jaxb.PortletAppDescriptorServiceImpl
- All Implemented Interfaces:
- PortletAppDescriptorService
public class PortletAppDescriptorServiceImpl
- extends Object
- implements PortletAppDescriptorService
JAXB implementation of the xml2java binding
- Author:
- Christian Raschka
TODO: better error handling
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletAppDescriptorServiceImpl
public PortletAppDescriptorServiceImpl()
read
public PortletAppDD read(InputStream in)
throws IOException
- Read the Web Application Deployment Descriptor.
- Specified by:
read
in interface PortletAppDescriptorService
- Returns:
- WebAppDD instance representing the descriptor.
- Throws:
IOException
write
public void write(PortletAppDD portlet,
OutputStream out)
throws IOException
- Write the deployment descriptor.
- Specified by:
write
in interface PortletAppDescriptorService
- Parameters:
portlet
-
- Throws:
IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.