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

java.lang.Object
  extended by org.n52.wps.io.datahandler.xml.AbstractXMLGenerator
      extended by org.n52.wps.io.datahandler.binary.Base64Generator
All Implemented Interfaces:
IGenerator, IOHandler, IStreamableGenerator

public class Base64Generator
extends AbstractXMLGenerator
implements IStreamableGenerator


Field Summary
 
Fields inherited from class org.n52.wps.io.datahandler.xml.AbstractXMLGenerator
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
Base64Generator()
           
 
Method Summary
 java.io.OutputStream generate(IData coll)
           
 org.w3c.dom.Node generateXML(IData coll, java.lang.String schema)
           
 java.lang.Class<?>[] getSupportedInternalInputDataType()
           
 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.
 void writeToStream(IData data, java.io.OutputStream os)
           
 
Methods inherited from class org.n52.wps.io.datahandler.xml.AbstractXMLGenerator
getSupportedEncodings, getSupportedFormats, isSupportedEncoding, isSupportedFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Base64Generator

public Base64Generator()
Method Detail

generateXML

public org.w3c.dom.Node generateXML(IData coll,
                                    java.lang.String schema)
Specified by:
generateXML in class AbstractXMLGenerator

generate

public java.io.OutputStream generate(IData coll)
Specified by:
generate in interface IGenerator

getSupportedInternalInputDataType

public java.lang.Class<?>[] getSupportedInternalInputDataType()
Specified by:
getSupportedInternalInputDataType in interface IGenerator

getSupportedSchemas

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

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

isSupportedSchema

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

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

writeToStream

public void writeToStream(IData data,
                          java.io.OutputStream os)
Specified by:
writeToStream in interface IStreamableGenerator


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