|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.XMLFilterImpl org.vfny.geoserver.responses.CapabilitiesResponse
DOCUMENT ME!
Field Summary | |
protected org.xml.sax.ContentHandler |
contentHandler
handler to do the processing |
protected CapabilitiesRequest |
request
Request provided passed to execute method |
Constructor Summary | |
CapabilitiesResponse()
|
Method Summary | |
void |
abort(GeoServer gs)
Free up used resources used by execute method. |
void |
execute(Request request)
Writes to a void output stream to throw any exception that can occur in writeTo too. |
java.lang.String |
getContentType(GeoServer gs)
Mime type for the Capabilities document. |
protected abstract Service |
getGlobalService()
DOCUMENT ME! |
protected abstract ResponseHandler |
getResponseHandler(org.xml.sax.ContentHandler contentHandler)
DOCUMENT ME! |
void |
parse(org.xml.sax.InputSource input)
walks the given collection. |
void |
parse(java.lang.String systemId)
walks the given collection. |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
sets the content handler. |
protected void |
walk()
DOCUMENT ME! |
void |
writeTo(java.io.OutputStream out)
Writes the GetCapabilities document to out. |
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.XMLReader |
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Field Detail |
protected CapabilitiesRequest request
protected org.xml.sax.ContentHandler contentHandler
Constructor Detail |
public CapabilitiesResponse()
Method Detail |
public void execute(Request request) throws ServiceException
execute
in interface Response
request
- Request to be processed
ServiceException
- If anything goes wrongpublic void abort(GeoServer gs)
abort
in interface Response
gs
- DOCUMENT ME!public java.lang.String getContentType(GeoServer gs)
getContentType
in interface Response
gs
- DOCUMENT ME!
java.lang.IllegalStateException
- DOCUMENT ME!public void writeTo(java.io.OutputStream out) throws ServiceException
By the time this has been called the Framework has:
If anything goes wrong the Framework will call abort() to allow for clean up of held resources.
writeTo
in interface Response
out
- OutputStream being returned to the user.
ServiceException
- DOCUMENT ME!
java.lang.IllegalStateException
- DOCUMENT ME!
WfsException
- DOCUMENT ME!public void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler
in interface org.xml.sax.XMLReader
handler
- DOCUMENT ME!public void parse(java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
systemId
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
org.xml.sax.SAXException
- DOCUMENT ME!public void parse(org.xml.sax.InputSource input) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
input
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!
org.xml.sax.SAXException
- DOCUMENT ME!protected void walk() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- DOCUMENT ME!protected abstract Service getGlobalService()
protected abstract ResponseHandler getResponseHandler(org.xml.sax.ContentHandler contentHandler)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |