EAF 7.0 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

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

Parameters:
config -

process

public 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:
document - document object to process
Returns:
processed document

process

public 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

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

Parameters:
name -

getName

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

Returns:

shouldProcess

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

Parameters:
mimeType -
Returns:

setLogChannel

public void setLogChannel(LogChannel logChannel)
Sets post processor logging channel

Parameters:
logChannel -

getLogChannel

public LogChannel getLogChannel()
Returns post processor logging channel

Returns:

getOutputMimeType

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

Returns:

clone

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

Returns:

EAF 7.0 API