Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


oracle.adfdt.view.common.binding.creator
Class DefaultBindingRecognizer

java.lang.Object
  extended by oracle.adfdt.view.common.binding.creator.DefaultBindingRecognizer

All Implemented Interfaces:
BindingRecognizer

public abstract class DefaultBindingRecognizer
extends java.lang.Object
implements BindingRecognizer

Implementation of BindingRecognizer that handles looking up bindings or gathering binding ids based on binding locators returned by the subclass.


Nested Class Summary
static class DefaultBindingRecognizer.BindingLocator
           

 

Constructor Summary
DefaultBindingRecognizer()
           

 

Method Summary
 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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultBindingRecognizer

public DefaultBindingRecognizer()

Method Detail

recognize

public final 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. This should not recurse for children. Note that the Node can be an element, text, or attr node.
Specified by:
recognize in interface BindingRecognizer

getBindingIds

public final 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. This should not recurse for children. Note that the Node can be an element, text, or attr node.
Specified by:
getBindingIds in interface BindingRecognizer

getBindingLocations

protected abstract java.util.Set<DefaultBindingRecognizer.BindingLocator> getBindingLocations(ADFDesignTimeContext dtContext,
                                                                                              org.w3c.dom.Node node)
Return binding locations for known potential binding ids. The 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.

Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


Copyright © 1997, 2012, Oracle. All rights reserved.