org.apache.pluto.descriptors.services.impl
Class AbstractCastorDescriptorService
java.lang.Object
org.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService
- Direct Known Subclasses:
- AbstractPortletAppDescriptorService, AbstractWebAppDescriptorService
abstract class AbstractCastorDescriptorService
- extends java.lang.Object
Abstract deployment descriptor support class.
This Base class provides support for reading
and writing deployment descriptors using Castor.
- Since:
- Mar 5, 2005
- Version:
- $Id: AbstractCastorDescriptorService.java 156743 2005-03-10 05:50:30Z ddewolf $
- Author:
- David H. DeWolf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextPath
private java.lang.String contextPath
AbstractCastorDescriptorService
protected AbstractCastorDescriptorService(java.lang.String contextPath)
- Default Constructor.
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()
getCastorMapping
protected abstract Mapping getCastorMapping()
throws java.io.IOException,
MappingException
- Throws:
java.io.IOException
MappingException
getInputStream
protected abstract java.io.InputStream getInputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
protected abstract java.io.OutputStream getOutputStream()
throws java.io.IOException
- Throws:
java.io.IOException
getPublicId
protected abstract java.lang.String getPublicId()
getDTDUri
protected abstract java.lang.String getDTDUri()