Package org.ghost4j.modifier
Class AbstractModifier
java.lang.Object
org.ghost4j.AbstractComponent
org.ghost4j.modifier.AbstractModifier
Abstract modifier implementation. Contains methods that are common to the
different modifier types
-
Field Summary
Fields inherited from class org.ghost4j.AbstractComponent
supportedDocumentClasses
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ghost4j.AbstractComponent
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupported
-
Constructor Details
-
AbstractModifier
public AbstractModifier()
-
-
Method Details
-
modify
public Document modify(Document source, Map<String, Serializable> parameters) throws ModifierException, DocumentException, IOExceptionDescription copied from interface:Modifier
Modify a document with optional parameters- Specified by:
modify
in interfaceModifier
- Parameters:
source
- Document to modifyparameters
- Modifier parameters- Returns:
- Modifier version of the document
- Throws:
ModifierException
DocumentException
IOException
-
run
protected abstract Document run(Document source, Map<String, Serializable> parameters) throws ModifierException, DocumentException- Throws:
ModifierException
DocumentException
-