org.milyn.delivery.sax
Class SmooksSAXFilter
java.lang.Object
org.milyn.delivery.Filter
org.milyn.delivery.sax.SmooksSAXFilter
public class SmooksSAXFilter
- extends Filter
Smooks SAX Filter.
- Author:
- tom.fennelly@gmail.com
|
Method Summary |
void |
cleanup()
Cleanup the Filter. |
void |
doFilter(Source source,
Result result)
Filter the content in the supplied Source instance, outputing the result
to the supplied Result instance. |
| Methods inherited from class org.milyn.delivery.Filter |
close, close, getCurrentExecutionContext, getFilter, getReader, getWriter, removeCurrentExecutionContext, removeCurrentFilter, setCurrentExecutionContext, setFilter, setFilterType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmooksSAXFilter
public SmooksSAXFilter(ExecutionContext executionContext)
doFilter
public void doFilter(Source source,
Result result)
throws SmooksException
- Description copied from class:
Filter
- Filter the content in the supplied
Source instance, outputing the result
to the supplied Result instance.
- Specified by:
doFilter in class Filter
- Parameters:
source - The content Source.result - The content Result. To serialize the result, supply a StreamResult.
To have the result returned as a DOM, supply a DOMResult.
- Throws:
SmooksException - Failed to filter.
cleanup
public void cleanup()
- Description copied from class:
Filter
- Cleanup the Filter.
- Specified by:
cleanup in class Filter
Copyright © 2008. All Rights Reserved.