org.apache.pluto.descriptors.services.impl
Class FileWebAppDescriptorServiceImpl

java.lang.Object
  extended by org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService
      extended by org.apache.pluto.descriptors.services.impl.FileWebAppDescriptorServiceImpl
All Implemented Interfaces:
WebAppDescriptorService

public class FileWebAppDescriptorServiceImpl
extends AbstractWebAppDescriptorService

Since:
Mar 5, 2005
Version:
$Id: FileWebAppDescriptorServiceImpl.java 156743 2005-03-10 05:50:30Z ddewolf $
Author:
David H. DeWolf

Field Summary
 
Fields inherited from class org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService
WEB_XML_MAPPING
 
Constructor Summary
FileWebAppDescriptorServiceImpl(java.io.File file)
           
 
Method Summary
 java.lang.String getContextPath()
           
protected  boolean getIgnoreExtraElements()
           
protected  java.io.InputStream getInputStream()
           
protected  java.io.OutputStream getOutputStream()
           
protected  java.lang.Object readInternal()
          Read the and convert the descriptor into it's Object graph.
protected  void writeInternal(java.lang.Object object)
          Write the object graph to it's descriptor.
 
Methods inherited from class org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService
getCastorMapping, getDTDUri, getPublicId, read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.pluto.descriptors.services.WebAppDescriptorService
getContextPath
 

Constructor Detail

FileWebAppDescriptorServiceImpl

public FileWebAppDescriptorServiceImpl(java.io.File file)
Method Detail

getInputStream

protected java.io.InputStream getInputStream()
                                      throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

protected java.io.OutputStream getOutputStream()
                                        throws java.io.IOException
Throws:
java.io.IOException

getContextPath

public java.lang.String getContextPath()

readInternal

protected java.lang.Object readInternal()
                                 throws java.io.IOException
Read the and convert the descriptor into it's Object graph.

Returns:
Throws:
java.io.IOException

writeInternal

protected void writeInternal(java.lang.Object object)
                      throws java.io.IOException
Write the object graph to it's descriptor.

Parameters:
object -
Throws:
java.io.IOException

getIgnoreExtraElements

protected boolean getIgnoreExtraElements()


Copyright © 2003-2009 . All Rights Reserved.