EAF 7.6 Implementation

org.enhydra.util.fo
Class Fo2FopResponsePostProcessor

java.lang.Object
  extended by org.enhydra.util.fo.Fo2FopResponsePostProcessor
All Implemented Interfaces:
java.lang.Cloneable, org.enhydra.util.ResponsePostProcessor

public class Fo2FopResponsePostProcessor
extends java.lang.Object
implements org.enhydra.util.ResponsePostProcessor

Author:
Slobodan Vujasinovic, Aleksandar Stojsavljevic

Field Summary
static java.lang.String ALLOW_COPY_CONTENT_PARAM_NAME
           
static java.lang.String ALLOW_EDIT_ANNOTATIONS_PARAM_NAME
           
static java.lang.String ALLOW_EDIT_CONTENT_PARAM_NAME
           
static java.lang.String ALLOW_PRINT_PARAM_NAME
           
static java.lang.String AUTHOR_PARAM_NAME
           
static java.lang.String CREATION_DATE_PARAM_NAME
           
static java.lang.String CREATOR_PARAM_NAME
           
static java.lang.String KEYWORDS_PARAM_NAME
           
static java.lang.String mimeType
           
static java.lang.String OWNER_PASS_PARAM_NAME
           
static java.lang.String PRODUCER_PARAM_NAME
           
static java.lang.String TARGET_RESOLUTION_PARAM_NAME
           
static java.lang.String TITLE_PARAM_NAME
           
static java.lang.String USER_PASS_PARAM_NAME
           
 
Constructor Summary
Fo2FopResponsePostProcessor()
           
Fo2FopResponsePostProcessor(com.lutris.logging.LogChannel logChannel)
           
 
Method Summary
 java.lang.Object clone()
           
 void configure(com.lutris.util.Config config)
           
 com.lutris.logging.LogChannel getLogChannel()
           
 java.lang.String getName()
           
 java.lang.String getOutputMimeType()
           
 byte[] process(byte[] byteArray, java.lang.String mimeEncoding, java.lang.String mimeType)
           
 org.w3c.dom.Node process(org.enhydra.xml.io.OutputOptions oo, org.w3c.dom.Node document)
           
 void setLogChannel(com.lutris.logging.LogChannel logChannel)
           
 void setName(java.lang.String name)
           
 boolean shouldProcess(java.lang.String mimeType)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mimeType

public static final java.lang.String mimeType
See Also:
Constant Field Values

PRODUCER_PARAM_NAME

public static final java.lang.String PRODUCER_PARAM_NAME
See Also:
Constant Field Values

CREATOR_PARAM_NAME

public static final java.lang.String CREATOR_PARAM_NAME
See Also:
Constant Field Values

AUTHOR_PARAM_NAME

public static final java.lang.String AUTHOR_PARAM_NAME
See Also:
Constant Field Values

TITLE_PARAM_NAME

public static final java.lang.String TITLE_PARAM_NAME
See Also:
Constant Field Values

KEYWORDS_PARAM_NAME

public static final java.lang.String KEYWORDS_PARAM_NAME
See Also:
Constant Field Values

TARGET_RESOLUTION_PARAM_NAME

public static final java.lang.String TARGET_RESOLUTION_PARAM_NAME
See Also:
Constant Field Values

CREATION_DATE_PARAM_NAME

public static final java.lang.String CREATION_DATE_PARAM_NAME
See Also:
Constant Field Values

ALLOW_PRINT_PARAM_NAME

public static final java.lang.String ALLOW_PRINT_PARAM_NAME
See Also:
Constant Field Values

ALLOW_COPY_CONTENT_PARAM_NAME

public static final java.lang.String ALLOW_COPY_CONTENT_PARAM_NAME
See Also:
Constant Field Values

ALLOW_EDIT_CONTENT_PARAM_NAME

public static final java.lang.String ALLOW_EDIT_CONTENT_PARAM_NAME
See Also:
Constant Field Values

ALLOW_EDIT_ANNOTATIONS_PARAM_NAME

public static final java.lang.String ALLOW_EDIT_ANNOTATIONS_PARAM_NAME
See Also:
Constant Field Values

USER_PASS_PARAM_NAME

public static final java.lang.String USER_PASS_PARAM_NAME
See Also:
Constant Field Values

OWNER_PASS_PARAM_NAME

public static final java.lang.String OWNER_PASS_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

Fo2FopResponsePostProcessor

public Fo2FopResponsePostProcessor()

Fo2FopResponsePostProcessor

public Fo2FopResponsePostProcessor(com.lutris.logging.LogChannel logChannel)
Method Detail

configure

public void configure(com.lutris.util.Config config)
Specified by:
configure in interface org.enhydra.util.ResponsePostProcessor

process

public org.w3c.dom.Node process(org.enhydra.xml.io.OutputOptions oo,
                                org.w3c.dom.Node document)
Specified by:
process in interface org.enhydra.util.ResponsePostProcessor

process

public byte[] process(byte[] byteArray,
                      java.lang.String mimeEncoding,
                      java.lang.String mimeType)
Specified by:
process in interface org.enhydra.util.ResponsePostProcessor

setName

public void setName(java.lang.String name)
Specified by:
setName in interface org.enhydra.util.ResponsePostProcessor

getName

public java.lang.String getName()
Specified by:
getName in interface org.enhydra.util.ResponsePostProcessor

setLogChannel

public void setLogChannel(com.lutris.logging.LogChannel logChannel)
Specified by:
setLogChannel in interface org.enhydra.util.ResponsePostProcessor

getLogChannel

public com.lutris.logging.LogChannel getLogChannel()
Specified by:
getLogChannel in interface org.enhydra.util.ResponsePostProcessor

shouldProcess

public boolean shouldProcess(java.lang.String mimeType)
Specified by:
shouldProcess in interface org.enhydra.util.ResponsePostProcessor

getOutputMimeType

public java.lang.String getOutputMimeType()
Specified by:
getOutputMimeType in interface org.enhydra.util.ResponsePostProcessor

clone

public java.lang.Object clone()
Specified by:
clone in interface org.enhydra.util.ResponsePostProcessor
Overrides:
clone in class java.lang.Object

EAF 7.6 Implementation