org.n52.wps.io.datahandler.binary
Class AbstractGTBinZippedSHPParser

java.lang.Object
  extended by org.n52.wps.io.datahandler.xml.AbstractXMLParser
      extended by org.n52.wps.io.datahandler.binary.AbstractGTBinZippedSHPParser
All Implemented Interfaces:
IOHandler, IParser
Direct Known Subclasses:
GTBinZippedBase64SHPParser, GTBinZippedSHPParser

public abstract class AbstractGTBinZippedSHPParser
extends AbstractXMLParser


Field Summary
 
Fields inherited from class org.n52.wps.io.datahandler.xml.AbstractXMLParser
geomFactory, properties, supportedEncodings, supportedFormats, supportedSchemas
 
Fields inherited from interface org.n52.wps.io.IOHandler
DEFAULT_ENCODING, DEFAULT_MIMETYPE, ENCODING_BASE64, MIME_TYPE_ZIPPED_SHP
 
Constructor Summary
AbstractGTBinZippedSHPParser()
           
 
Method Summary
 java.lang.Class<?>[] getSupportedInternalOutputDataType()
           
 java.lang.String[] getSupportedSchemas()
          Returns an array having the supported schemas.
 boolean isSupportedSchema(java.lang.String schema)
          Returns true if the given schema is supported, else false.
 IData parseXML(java.io.InputStream stream)
           
 IData parseXML(java.lang.String xml)
           
 
Methods inherited from class org.n52.wps.io.datahandler.xml.AbstractXMLParser
getSupportedEncodings, getSupportedFormats, isSupportedEncoding, isSupportedFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.n52.wps.io.IParser
parse
 

Constructor Detail

AbstractGTBinZippedSHPParser

public AbstractGTBinZippedSHPParser()
Method Detail

parseXML

public IData parseXML(java.lang.String xml)
               throws java.lang.RuntimeException
Specified by:
parseXML in class AbstractXMLParser
Throws:
java.lang.RuntimeException - If an error occurs while parsing the sent XML, unzipping the zipped shapefile or the feature collection cannot be obtained from the shapefile
See Also:
AbstractXMLParser.parseXML(java.lang.String)

parseXML

public IData parseXML(java.io.InputStream stream)
               throws java.lang.RuntimeException
Specified by:
parseXML in class AbstractXMLParser
Throws:
java.lang.RuntimeException - If an error occurs while parsing the sent XML, unzipping the zipped shapefile or the feature collection cannot be obtained from the shapefile
See Also:
AbstractXMLParser.parseXML(java.io.InputStream)

getSupportedInternalOutputDataType

public java.lang.Class<?>[] getSupportedInternalOutputDataType()

getSupportedSchemas

public java.lang.String[] getSupportedSchemas()
Description copied from class: AbstractXMLParser
Returns an array having the supported schemas.

Specified by:
getSupportedSchemas in interface IOHandler
Overrides:
getSupportedSchemas in class AbstractXMLParser

isSupportedSchema

public boolean isSupportedSchema(java.lang.String schema)
Description copied from class: AbstractXMLParser
Returns true if the given schema is supported, else false.

Specified by:
isSupportedSchema in interface IOHandler
Overrides:
isSupportedSchema in class AbstractXMLParser


Copyright © 2007-2011 52north.org. All Rights Reserved.