public abstract class AbstractPortletAppDescriptorService extends java.lang.Object implements PortletAppDescriptorService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PORTLET_XML_MAPPING |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPortletAppDescriptorService(java.lang.String contextPath)
Default Constructor.
|
protected |
AbstractPortletAppDescriptorService(java.lang.String contextPath,
boolean create)
Secondary Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.exolab.castor.mapping.Mapping |
getCastorMapping()
Read and Retrieve the Web Application's Castor Mapping
resource.
|
java.lang.String |
getContextPath() |
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.
|
PortletAppDD |
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(PortletAppDD portlet)
Write the deployment descriptor.
|
protected void |
writeInternal(java.lang.Object object)
Write the object graph to it's descriptor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextPathpublic static final java.lang.String PORTLET_XML_MAPPING
protected AbstractPortletAppDescriptorService(java.lang.String contextPath)
protected AbstractPortletAppDescriptorService(java.lang.String contextPath,
boolean create)
create - public PortletAppDD read() throws java.io.IOException
read in interface PortletAppDescriptorServicejava.io.IOExceptionpublic void write(PortletAppDD portlet) throws java.io.IOException
write in interface PortletAppDescriptorServiceportlet - java.io.IOExceptionprotected 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.IOExceptionorg.exolab.castor.mapping.MappingExceptionprotected boolean getIgnoreExtraElements()
public java.lang.String getContextPath()
protected java.lang.Object readInternal()
throws java.io.IOException
java.io.IOExceptionprotected void writeInternal(java.lang.Object object)
throws java.io.IOException
object - java.io.IOExceptionprotected abstract java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionprotected abstract java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionCopyright © 2003-2013 . All Rights Reserved.