public abstract class DefaultBindingRecognizer extends java.lang.Object implements BindingRecognizer
BindingRecognizer that handles looking up bindings or gathering binding ids based on binding locators returned by the subclass.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultBindingRecognizer.BindingLocator |
| Constructor and Description |
|---|
DefaultBindingRecognizer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getBindingIds(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
Returns the set of binding ids that exist for the node, or an empty set if none exist.
|
protected abstract java.util.Set<DefaultBindingRecognizer.BindingLocator> |
getBindingLocations(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
Return binding locations for known potential binding ids.
|
java.util.Set<BindingReference> |
recognize(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
Returns the set of
BindingReferences that exist for the node, or an empty set if none exist. |
public final java.util.Set<BindingReference> recognize(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
BindingReferences that exist for the node, or an empty set if none exist. This should not recurse for children. Note that the Node can be an element, text, or attr node.recognize in interface BindingRecognizerpublic final java.util.Set<java.lang.String> getBindingIds(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
Node can be an element, text, or attr node.getBindingIds in interface BindingRecognizerprotected abstract java.util.Set<DefaultBindingRecognizer.BindingLocator> getBindingLocations(ADFDesignTimeContext dtContext, org.w3c.dom.Node node)
DefaultBindingRecognizer will take care of ensuring the binding exists. This should check the node as fast as possible - and should ideally avoid any calls to the page definition.