org.n52.wps.io.xml
Class AbstractXMLParser

java.lang.Object
  extended by org.n52.wps.io.xml.AbstractXMLParser
All Implemented Interfaces:
IOHandler, IParser
Direct Known Subclasses:
SimpleGMLParser

public abstract class AbstractXMLParser
extends java.lang.Object
implements IParser


Field Summary
 
Fields inherited from interface org.n52.wps.io.IOHandler
DEFAULT_ENCODING, DEFAULT_MIMETYPE
 
Constructor Summary
AbstractXMLParser()
           
 
Method Summary
 java.lang.String[] getSupportedFormats()
           
 boolean isSupportedFormat(java.lang.String format)
           
abstract  java.lang.Object parseXML(java.io.InputStream stream, IOutputChannel channel)
           
abstract  java.lang.Object parseXML(java.lang.String gml, IOutputChannel channel)
           
 boolean supportsSchemas()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.n52.wps.io.IParser
parse
 
Methods inherited from interface org.n52.wps.io.IOHandler
getSupportedRootClasses, getSupportedSchemas, isSupportedEncoding, isSupportedRootClass, isSupportedSchema
 

Constructor Detail

AbstractXMLParser

public AbstractXMLParser()
Method Detail

isSupportedFormat

public final boolean isSupportedFormat(java.lang.String format)
Specified by:
isSupportedFormat in interface IOHandler

supportsSchemas

public boolean supportsSchemas()
Specified by:
supportsSchemas in interface IOHandler

getSupportedFormats

public java.lang.String[] getSupportedFormats()
Specified by:
getSupportedFormats in interface IOHandler

parseXML

public abstract java.lang.Object parseXML(java.lang.String gml,
                                          IOutputChannel channel)

parseXML

public abstract java.lang.Object parseXML(java.io.InputStream stream,
                                          IOutputChannel channel)