public interface Binder2<O extends PatternOptions>
Modifier and Type | Method and Description |
---|---|
BinderResult |
bind(BinderParams<O> params)
Binds the given subtree and returns a result demonstrating whether the bind was successful or not.
|
boolean |
canRebind(org.w3c.dom.Node parent, org.w3c.dom.Node toBind)
True if this binder knows how to bind the node.
|
O |
generateOptions(BinderParams<O> params)
If supported by the Binder, can generate a set of options based on the already bound node.
|
BinderResult bind(BinderParams<O> params)
params
- See BinderParams for a complete listboolean canRebind(org.w3c.dom.Node parent, org.w3c.dom.Node toBind)
parent
- The parent of the nodes to be boundtoBind
- The nodes to bind. Typically either a DocumentFragment or ElementO generateOptions(BinderParams<O> params)
params
- See BinderParams for a complete list