Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.data.bind
Class AncestorAttributeBoundValue

java.lang.Object
  |
  +--oracle.cabo.ui.data.bind.AncestorAttributeBoundValue
All Implemented Interfaces:
BoundValue

public class AncestorAttributeBoundValue
extends java.lang.Object
implements BoundValue

Iterates through the containing UINode's rendered ancestors to find a specific local name and namespace. Returns a DataObject providing access to the attributes of that ancestor, using attribute key or name as the select key.


Constructor Summary
AncestorAttributeBoundValue(AttributeKey attrKey, java.lang.String localName, java.lang.String namespaceURI)
          Create a BoundValue that iterates through its rendered ancestors to find a specific local name and namespace.
AncestorAttributeBoundValue(java.lang.String attrKeyName, java.lang.String localName, java.lang.String namespaceURI)
          Create a BoundValue that iterates through its rendered ancestors to find a specific local name and namespace.
 
Method Summary
 java.lang.Object getValue(RenderingContext context)
          Called to retrieve a value based on the current rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AncestorAttributeBoundValue

public AncestorAttributeBoundValue(java.lang.String attrKeyName,
                                   java.lang.String localName,
                                   java.lang.String namespaceURI)
Create a BoundValue that iterates through its rendered ancestors to find a specific local name and namespace. Returns a DataObject providing access to the attributes of that ancestor.
Parameters:
attrKeyName - the attribute key name
localName - the ancestor localName
namespaceURI - the ancestor namespace

AncestorAttributeBoundValue

public AncestorAttributeBoundValue(AttributeKey attrKey,
                                   java.lang.String localName,
                                   java.lang.String namespaceURI)
Create a BoundValue that iterates through its rendered ancestors to find a specific local name and namespace. Returns a DataObject providing access to the attributes of that ancestor.
Parameters:
attrKey - the attribute key
localName - the ancestor localName
namespaceURI - the ancestor namespace
Method Detail

getValue

public java.lang.Object getValue(RenderingContext context)
Called to retrieve a value based on the current rendering context.
Specified by:
getValue in interface BoundValue
Parameters:
context - the rendering context

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.