此内容没有您所选择的语言版本。
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; }