All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ui4j.spi.NodeUnbindVisitor Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.ui4j.spi;

import com.ui4j.api.dom.Node;
import com.ui4j.api.util.NodeVisitor;

public class NodeUnbindVisitor extends NodeVisitor {

    private PageContext context;

    public NodeUnbindVisitor(PageContext context, Node root) {
        super(root);
        this.context = context;
    }

    @Override
    public void visit(Node child) {
        if (child != null && child.isHtmlElement()) {
            context.getEventManager().unbind(child);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy