org.apache.cocoon.portal.source
Class CopletSource
java.lang.Object
org.apache.cocoon.portal.source.CopletSource
- All Implemented Interfaces:
- Contextualizable, Serviceable, Source, XMLizable
- public class CopletSource
- extends Object
- implements Source, XMLizable, Serviceable, Contextualizable
This is the source implementation of the coplet source.
- Version:
- $Id: CopletSource.java 328453 2005-10-25 19:08:53Z cziegeler $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
manager
protected ServiceManager manager
context
protected Context context
uri
protected String uri
copletControllerName
protected String copletControllerName
copletInstanceData
protected CopletInstanceData copletInstanceData
scheme
protected String scheme
- The used protocol
CopletSource
public CopletSource(String location,
String protocol,
CopletInstanceData coplet)
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
- See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
- See Also:
Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
getInputStream
public InputStream getInputStream()
throws IOException,
SourceNotFoundException
- Specified by:
getInputStream
in interface Source
- Throws:
IOException
SourceNotFoundException
- See Also:
Source.getInputStream()
getURI
public String getURI()
- Specified by:
getURI
in interface Source
- See Also:
Source.getURI()
getValidity
public SourceValidity getValidity()
- Specified by:
getValidity
in interface Source
- See Also:
Source.getValidity()
refresh
public void refresh()
- Specified by:
refresh
in interface Source
- See Also:
Source.refresh()
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface Source
- See Also:
Source.getMimeType()
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interface Source
- See Also:
Source.getContentLength()
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface Source
- See Also:
Source.getLastModified()
toSAX
public void toSAX(ContentHandler handler)
throws SAXException
- Specified by:
toSAX
in interface XMLizable
- Throws:
SAXException
- See Also:
XMLizable.toSAX(ContentHandler)
exists
public boolean exists()
- Specified by:
exists
in interface Source
- See Also:
Source.exists()
getScheme
public String getScheme()
- Specified by:
getScheme
in interface Source
- See Also:
Source.getScheme()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.