borland Packages  Class Hierarchy  internetbeans Package 

Binder interface

com.borland.internetbeans.Binder

About the Binder interface

Methods  

Implemented by IxPageProducer, PageProducer, JspBinder

Note: This package is a feature of JBuilder Professional and Enterprise.

A Binder is like a container; it binds all the components that are associated with a single page context.


Binder methods

Methods defined in this interface


Binder methods

addObject(newObject)

  void addObject(IxComponent newObject)
Binds component.

Parameters:

newObject
Component to add

getObjectMap()

  Map getObjectMap()
Return all the bound components, mapped by their identifier.

Returns map of components; may be empty, but not null.

See also: IxComponent#getIdentifier

getObjectMapByClass(java.lang.Class)

  Map getObjectMapByClass(Class c)
Return all the bound components of a particular class (and all subclasses), mapped by their identifier.

Parameters:

c
Class of interest

Returns map of matching components; may be empty, but not null. See also: IxComponent#getIdentifier

getObjects()

  IxComponent[] getObjects()
Return all the bound components in an array.

Returns array of components; may be empty, but not null.

getObjectsByClass(java.lang.Class)

  IxComponent[] getObjectsByClass(Class c)
Return all the bound components of a particular class (and all subclasses).

Parameters:

c
Class of interest

Returns array of matching components; may be empty, but not null.

removeObject(oldObject)

  void removeObject(IxComponent oldObject)
Unbinds component.

Parameters:

oldObject
Component to remove