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 BindingReference

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


public class BindingReference
extends java.lang.Object

Note to subclasses: it is desirable that the page defintion not be looked up until you find a potential binding id. Furthermore, it is recommended that you use the "findAndCachePageDefinition()" method on the dtContext to make sure that you do not re-look up the page defintion that might already be obtained by a prior binding recognizer.


Constructor Summary
BindingReference(oracle.adfdt.model.objects.BaseElementObject binding, java.lang.String id, org.w3c.dom.Node source, float rank)
          Creates a BindingReference.

 

Method Summary
 boolean equals(java.lang.Object o)
           
 oracle.adfdt.model.objects.BaseElementObject getBinding()
          Returns the binding.
 org.w3c.dom.Element getBindingElement()
          Returns the DOM element associated with the binding.
 java.lang.String getBindingId()
          Returns the id of the referenced binding.
 float getRank()
          Returns the rank of this binding reference.
 java.lang.String getSource()
          Returns the local name of the node (typically an attribute) that contained the reference.
 int hashCode()
           

 

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

 

Constructor Detail

BindingReference

public BindingReference(oracle.adfdt.model.objects.BaseElementObject binding,
                        java.lang.String id,
                        org.w3c.dom.Node source,
                        float rank)
Creates a BindingReference. The page definition is used to lazily create bindings. The rank is relative. A "certain" hit for a binding that is the principle binding for the pattern should be ranked 1.0f. Unsure hits should be ranked around 0.2f.

Method Detail

getSource

public java.lang.String getSource()
Returns the local name of the node (typically an attribute) that contained the reference.

getBindingId

public java.lang.String getBindingId()
Returns the id of the referenced binding.

getBinding

public oracle.adfdt.model.objects.BaseElementObject getBinding()
Returns the binding. This fetch is done lazily, and is cached thereafter.

getBindingElement

public org.w3c.dom.Element getBindingElement()
Returns the DOM element associated with the binding. This is fetched lazily, and is cached thereafter.

getRank

public float getRank()
Returns the rank of this binding reference.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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.