org.n52.wps.io.datahandler.xml
Class AbstractXMLParser
java.lang.Object
org.n52.wps.io.datahandler.xml.AbstractXMLParser
- All Implemented Interfaces:
- IOHandler, IParser
- Direct Known Subclasses:
- AbstractGTBinZippedSHPParser, GML2BasicParser, GML2BasicParser4Files, GML3BasicParser, GML3BasicParser4Files, GRASSKMLParser, KMLParser, SimpleGMLParser
public abstract class AbstractXMLParser
- extends java.lang.Object
- implements IParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
geomFactory
protected com.vividsolutions.jts.geom.GeometryFactory geomFactory
properties
protected org.n52.wps.PropertyDocument.Property[] properties
supportedSchemas
protected java.util.List<java.lang.String> supportedSchemas
supportedFormats
protected java.util.List<java.lang.String> supportedFormats
supportedEncodings
protected java.util.List<java.lang.String> supportedEncodings
AbstractXMLParser
public AbstractXMLParser()
AbstractXMLParser
public AbstractXMLParser(boolean pReadWPSConfig)
isSupportedFormat
public boolean isSupportedFormat(java.lang.String format)
- Specified by:
isSupportedFormat in interface IOHandler
getSupportedFormats
public java.lang.String[] getSupportedFormats()
- Specified by:
getSupportedFormats in interface IOHandler
getSupportedSchemas
public java.lang.String[] getSupportedSchemas()
- Returns an array having the supported schemas.
- Specified by:
getSupportedSchemas in interface IOHandler
isSupportedSchema
public boolean isSupportedSchema(java.lang.String schema)
- Returns true if the given schema is supported, else false.
- Specified by:
isSupportedSchema in interface IOHandler
isSupportedEncoding
public boolean isSupportedEncoding(java.lang.String encoding)
- Specified by:
isSupportedEncoding in interface IOHandler
getSupportedEncodings
public java.lang.String[] getSupportedEncodings()
- Specified by:
getSupportedEncodings in interface IOHandler
parseXML
public abstract IData parseXML(java.lang.String gml)
parseXML
public abstract IData parseXML(java.io.InputStream stream)
Copyright © 2007-2011 52north.org. All Rights Reserved.