|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfdt.view.common.binding.utils.ReferenceUtils
public final class ReferenceUtils
Method Summary | |
---|---|
static java.util.List<BindingReference> |
getAllBindingReferences(ADFDesignTimeContext dtContext, org.w3c.dom.Node domNode) Gets all BindingReference s related to the passed in DOM node. |
static java.util.Set<java.lang.String> |
getBindingIds(ADFDesignTimeContext dtContext, org.w3c.dom.Element root, boolean recurse) Returns all binding ids used in either the node directly, or the subtree if the recurse flag is set to true. |
static BindingReference |
getBindingReference(ADFDesignTimeContext dtContext, org.w3c.dom.Node domNode) Returns the highest ranked BindingReference according to the ordering defined by registered patterns. |
static void |
safeDeleteBindings(ADFDesignTimeContext dtContext, org.w3c.dom.Element deletedRoot) Given an already removed subtree from the DOM, this will safely delete any unused bindings located in that subtree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<BindingReference> getAllBindingReferences(ADFDesignTimeContext dtContext, org.w3c.dom.Node domNode)
BindingReference
s related to the passed in DOM node. If the DOM node is an element, this will return all references contained in any attributes of that element. If the DOM node is an attribute, this will return all references contained within that attribute's value. This will return the BindingReference
s in ranked order, with the highest ranks first.dtContext
- The ADFDesignTimeContext
of the current view.domElement
- The Element
to inspect.BindingReference
contained in the node.public static BindingReference getBindingReference(ADFDesignTimeContext dtContext, org.w3c.dom.Node domNode)
BindingReference
according to the ordering defined by registered patterns. If no references exist, this will return null.dtContext
- The ADFDesignTimeContext
of the current view.domNode
- The Node
to inspect.BindingReference
or null.public static java.util.Set<java.lang.String> getBindingIds(ADFDesignTimeContext dtContext, org.w3c.dom.Element root, boolean recurse)
dtContext
- The ADFDesignTimeContext
of the current view.root
- The root Node
to inspect.recurse
- True if child node binding ids should also be retrievedpublic static void safeDeleteBindings(ADFDesignTimeContext dtContext, org.w3c.dom.Element deletedRoot)
dtContext
- The ADFDesignTimeContext
of the current view.deletedRoot
- The root of the deleted node tree (this must have already been removed from the document.
|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |