EAF 7.6 API

org.enhydra.util
Interface ResponsePostProcessor

All Superinterfaces:
java.lang.Cloneable

public interface ResponsePostProcessor
extends java.lang.Cloneable

Author:
Slobodan Vujasinovic

Method Summary
 java.lang.Object clone()
          Returns post processor instance
 void configure(com.lutris.util.Config config)
          Configures postprocessor instance according to Config object passed
 LogChannel getLogChannel()
          Returns post processor logging channel
 java.lang.String getName()
          Returns name of this post processor
 java.lang.String getOutputMimeType()
          Returns post processor resulting mime type
 byte[] process(byte[] buteArray, java.lang.String mimeEncoding, java.lang.String mimeType)
          Implemented method should execute required response post-processing functions on document object passed.
 org.w3c.dom.Node process(org.enhydra.xml.io.OutputOptions oo, org.w3c.dom.Node document)
          Implemented method should execute required response post-processing functions on document object passed.
 void setLogChannel(LogChannel logChannel)
          Sets post processor logging channel
 void setName(java.lang.String name)
          Sets name this post processor
 boolean shouldProcess(java.lang.String mimeType)
          Should I process this Mime Type
 

Method Detail

configure

void configure(com.lutris.util.Config config)
Configures postprocessor instance according to Config object passed

Parameters:
config -

process

org.w3c.dom.Node process(org.enhydra.xml.io.OutputOptions oo,
                         org.w3c.dom.Node document)
Implemented method should execute required response post-processing functions on document object passed.

Parameters:
props - Some additional configuration parameters set from PO itself
document - document object to process
Returns:
processed document

process

byte[] process(byte[] buteArray,
               java.lang.String mimeEncoding,
               java.lang.String mimeType)
Implemented method should execute required response post-processing functions on document object passed.

Parameters:
buteArray -
mimeEncoding -
mimeType -
Returns:

setName

void setName(java.lang.String name)
Sets name this post processor

Parameters:
name -

getName

java.lang.String getName()
Returns name of this post processor

Returns:

shouldProcess

boolean shouldProcess(java.lang.String mimeType)
Should I process this Mime Type

Parameters:
mimeType -
Returns:

setLogChannel

void setLogChannel(LogChannel logChannel)
Sets post processor logging channel

Parameters:
logChannel -

getLogChannel

LogChannel getLogChannel()
Returns post processor logging channel

Returns:

getOutputMimeType

java.lang.String getOutputMimeType()
Returns post processor resulting mime type

Returns:

clone

java.lang.Object clone()
Returns post processor instance

Returns:

EAF 7.6 API