public class EntityLocatorParameterVisitor extends Object implements DOMElementVisitor, SAXVisitBefore, SAXVisitAfter, Consumer, Producer
| Constructor and Description |
|---|
EntityLocatorParameterVisitor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
consumes(Object object)
Does this consumer consume the specified named object.
|
String |
getId() |
Set<? extends Object> |
getProducts()
Get the set of products produced by this producer instance.
|
void |
initialize()
Set the resource configuration on the bean populator.
|
void |
populateAndSetPropertyValue(Object dataObject,
ExecutionContext executionContext) |
void |
visitAfter(Element element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements.
|
void |
visitAfter(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements.
|
void |
visitBefore(Element element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
|
void |
visitBefore(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
|
@Initialize public void initialize() throws SmooksConfigurationException
SmooksConfigurationException - Incorrectly configured resource.public boolean consumes(Object object)
ConsumerProducer that is executing
on the same element. The consumer should only return false if it knows for
certain that it doesn't consumer the specified named object. If uncertain, it should
error on the side of saying that it does consume the object.public Set<? extends Object> getProducts()
ProducergetProducts in interface Producerpublic void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException
DOMVisitBeforevisitBefore in interface DOMVisitBeforeelement - The DOM element being visited.executionContext - Request relative instance.SmooksException - Element processing failure.public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException
DOMVisitAftervisitAfter in interface DOMVisitAfterelement - The DOM element being visited.executionContext - Request relative instance.SmooksException - Element processing failure.public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
SAXVisitBeforevisitBefore in interface SAXVisitBeforeelement - The SAX element being visited.executionContext - Execution context.SmooksException - Event processing failure.IOException - Error writing event to output writer.public void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
SAXVisitAftervisitAfter in interface SAXVisitAfterelement - The SAX element being visited.executionContext - Execution context.SmooksException - Event processing failure.IOException - Error writing event to output writer.public void populateAndSetPropertyValue(Object dataObject, ExecutionContext executionContext)
public String getId()
Copyright © 2020. All rights reserved.