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

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

public class ContextWebAppDescriptorServiceImpl
extends AbstractWebAppDescriptorService

TODO: Document

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

Field Summary
static java.lang.String WEB_XML_URI
           
 
Fields inherited from class org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService
WEB_XML_MAPPING
 
Constructor Summary
ContextWebAppDescriptorServiceImpl(javax.servlet.ServletContext ctx)
           
 
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
 

Field Detail

WEB_XML_URI

public static final java.lang.String WEB_XML_URI
See Also:
Constant Field Values
Constructor Detail

ContextWebAppDescriptorServiceImpl

public ContextWebAppDescriptorServiceImpl(javax.servlet.ServletContext ctx)
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-2010 . All Rights Reserved.