org.vfny.geoserver.responses
Class CapabilitiesResponseHandler

java.lang.Object
  extended byorg.vfny.geoserver.responses.XmlResponseHandler
      extended byorg.vfny.geoserver.responses.CapabilitiesResponseHandler
All Implemented Interfaces:
ResponseHandler
Direct Known Subclasses:
WfsCapabilitiesResponseHandler, WmsCapabilitiesResponseHandler

public abstract class CapabilitiesResponseHandler
extends XmlResponseHandler

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.vfny.geoserver.responses.XmlResponseHandler
atts
 
Constructor Summary
CapabilitiesResponseHandler(org.xml.sax.ContentHandler contentHandler)
          Creates a new CapabilitiesResponseHandler object.
 
Method Summary
protected  void endService(Service config)
          DOCUMENT ME!
protected abstract  void handleCapabilities(Service config)
          DOCUMENT ME!
 void handleDocument(Service config)
          DOCUMENT ME!
protected  void handleFeatureType(FeatureTypeInfo ftype)
          Default handle of a FeatureTypeInfo content that writes the latLongBBox as well as the GlobalBasic's parameters
protected  void handleKeywords(java.util.List kwords)
          Handles a keyword list.
protected  void handleOnlineResouce(Service config)
          DOCUMENT ME!
protected  void handleService(Service config)
          DOCUMENT ME!
protected abstract  void startDocument(Service config)
          DOCUMENT ME!
 
Methods inherited from class org.vfny.geoserver.responses.XmlResponseHandler
characters, cReturn, endElement, endElement, handleSingleElem, handleSingleElem, indent, indent, setPrettyPrint, startElement, startElement, startElement, unIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.vfny.geoserver.responses.ResponseHandler
endDocument
 

Constructor Detail

CapabilitiesResponseHandler

public CapabilitiesResponseHandler(org.xml.sax.ContentHandler contentHandler)
Creates a new CapabilitiesResponseHandler object.

Parameters:
contentHandler - DOCUMENT ME!
Method Detail

handleDocument

public void handleDocument(Service config)
                    throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

handleService

protected void handleService(Service config)
                      throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

handleOnlineResouce

protected void handleOnlineResouce(Service config)
                            throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

startDocument

protected abstract void startDocument(Service config)
                               throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

endService

protected void endService(Service config)
                   throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

handleCapabilities

protected abstract void handleCapabilities(Service config)
                                    throws org.xml.sax.SAXException
DOCUMENT ME!

Parameters:
config - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!

handleFeatureType

protected void handleFeatureType(FeatureTypeInfo ftype)
                          throws org.xml.sax.SAXException
Default handle of a FeatureTypeInfo content that writes the latLongBBox as well as the GlobalBasic's parameters

Parameters:
ftype - DOCUMENT ME!
Throws:
org.xml.sax.SAXException - DOCUMENT ME!
java.lang.IllegalArgumentException - if a non-enabled ftype is passed in.

handleKeywords

protected void handleKeywords(java.util.List kwords)
                       throws org.xml.sax.SAXException
Handles a keyword list.

Parameters:
kwords - The list of key words.
Throws:
org.xml.sax.SAXException - DOCUMENT ME!