Show Table of Contents
12.27. SAX Visitor API Interfaces
org.milyn.delivery.sax.SAXVisitBefore- Captures the
startElementSAX event for the targeted fragment element:public interface SAXVisitBefore extends SAXVisitor { void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException; } org.milyn.delivery.sax.SAXVisitChildren- Captures the character based SAX events for the targeted fragment element, as well as Smooks generated (pseudo) events corresponding to the
startElementevents of child fragment elements:public interface SAXVisitChildren extends SAXVisitor { void onChildText(SAXElement element, SAXText childText, ExecutionContext executionContext) throws SmooksException, IOException; void onChildElement(SAXElement element, SAXElement childElement, ExecutionContext executionContext) throws SmooksException, IOException; } org.milyn.delivery.sax.SAXVisitAfter- Captures the
endElementSAX event for the targeted fragment element:public interface SAXVisitAfter extends SAXVisitor { void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException; }

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.