Modify elements with post-processor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Modify elements with post-processor

Hi! How can i modify elements with post-processor?

public class TestHandler extends AbstractTemplateHandler {
    public void handleOpenElement(IOpenElementTag openElementTag) {
       IAttribute srcAttribute = openElementTag.getAttribute("src");
        //i need to modify attribute value, i want to replace all src resorces path
        //but all set* methods are private

        //pass to output