|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.descriptors.services.impl.AbstractCastorDescriptorService
org.apache.pluto.descriptors.services.impl.AbstractWebAppDescriptorService
Abstract Implementation of the Web Application Deployment Descriptor service. Provides default implementation of the service; requiring only that subclasses provide the input streams to/from the actual descriptor.
Field Summary | |
static java.lang.String |
WEB_XML_MAPPING
|
Constructor Summary | |
protected |
AbstractWebAppDescriptorService(java.lang.String contextPath)
Default Constructor. |
protected |
AbstractWebAppDescriptorService(java.lang.String contextPath,
boolean create)
Secondary Constructor. |
Method Summary | |
protected org.exolab.castor.mapping.Mapping |
getCastorMapping()
Read and Retrieve the Web Application's Castor Mapping resource. |
java.lang.String |
getContextPath()
Retrieve the name of the context path within which WebApps retrieved from this service reside. |
protected java.lang.String |
getDTDUri()
Retrieve the Web Application Deployment descriptor's DTD uri. |
protected boolean |
getIgnoreExtraElements()
|
protected abstract java.io.InputStream |
getInputStream()
|
protected abstract java.io.OutputStream |
getOutputStream()
|
protected java.lang.String |
getPublicId()
Retrieve the Web Application Deployment descriptor's public Id. |
WebAppDD |
read()
Read the Web Application Deployment Descriptor. |
protected java.lang.Object |
readInternal()
Read the and convert the descriptor into it's Object graph. |
void |
write(WebAppDD webApp)
Write the deployment descriptor. |
protected void |
writeInternal(java.lang.Object object)
Write the object graph to it's descriptor. |
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 |
public static final java.lang.String WEB_XML_MAPPING
Constructor Detail |
protected AbstractWebAppDescriptorService(java.lang.String contextPath)
protected AbstractWebAppDescriptorService(java.lang.String contextPath, boolean create)
create
- Method Detail |
public WebAppDD read() throws java.io.IOException
read
in interface WebAppDescriptorService
java.io.IOException
public void write(WebAppDD webApp) throws java.io.IOException
write
in interface WebAppDescriptorService
webApp
-
java.io.IOException
protected java.lang.String getPublicId()
protected java.lang.String getDTDUri()
protected org.exolab.castor.mapping.Mapping getCastorMapping() throws java.io.IOException, org.exolab.castor.mapping.MappingException
java.io.IOException
org.exolab.castor.mapping.MappingException
public java.lang.String getContextPath()
protected java.lang.Object readInternal() throws java.io.IOException
java.io.IOException
protected void writeInternal(java.lang.Object object) throws java.io.IOException
object
-
java.io.IOException
protected boolean getIgnoreExtraElements()
protected abstract java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
protected abstract java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |