01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.wfs.xml;
06:
07: import org.geotools.gml.producer.GeometryTransformer.GeometryTranslator;
08: import org.xml.sax.ContentHandler;
09:
10: public class GML3GeometryTranslator extends GeometryTranslator {
11: public GML3GeometryTranslator(ContentHandler handler) {
12: super (handler);
13: }
14:
15: public GML3GeometryTranslator(ContentHandler handler,
16: int numDecimals, boolean useDummyZ) {
17: super (handler, numDecimals, useDummyZ);
18: }
19:
20: public GML3GeometryTranslator(ContentHandler handler,
21: int numDecimals) {
22: super (handler, numDecimals);
23: }
24:
25: protected String boxName() {
26: return "Envelope";
27: }
28:
29: protected void encodeNullBounds() {
30: element("Null", null);
31: }
32: }
|