| org.vfny.geoserver.wms.responses.helpers.DescribeLayerTransformer
DescribeLayerTransformer | public class DescribeLayerTransformer extends TransformerBase (Code) | | org.geotools.xml.transform.TransformerBase specialized in
producing a WMS DescribeLayer response.
author: Gabriel Roldan, Axios Engineering version: $Id: DescribeLayerTransformer.java 7522 2007-09-12 22:00:10Z saul.farber $ |
Method Summary | |
public Transformer | createTransformer() Gets the Transformer created by the overriden method in
the superclass and adds it the DOCTYPE token pointing to the
DescribeLayer DTD on this server instance. | public Translator | createTranslator(ContentHandler handler) Creates and returns a Translator specialized in producing
a DescribeLayer response document.
Parameters: handler - the content handler to send sax events to. |
DescribeLayerTransformer | public DescribeLayerTransformer(String baseUrl, GeoServer gs)(Code) | | Creates a new DescribeLayerTransformer object.
Parameters: baseUrl - the url string wich holds the validationschemas and DTD's on this server instance. |
createTransformer | public Transformer createTransformer() throws TransformerException(Code) | | Gets the Transformer created by the overriden method in
the superclass and adds it the DOCTYPE token pointing to the
DescribeLayer DTD on this server instance.
The DTD is set at the fixed location given by the schemaBaseUrl
passed to the constructor + "wms/1.1.1/WMS_DescribeLayerResponse.dtd .
a Transformer propoerly configured to produce DescribeLayer responses. throws: TransformerException - if it is thrown by super.createTransformer() |
createTranslator | public Translator createTranslator(ContentHandler handler)(Code) | | Creates and returns a Translator specialized in producing
a DescribeLayer response document.
Parameters: handler - the content handler to send sax events to. a new DescribeLayerTranslator |
|
|