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.v2
Class BasePattern<O extends PatternOptions>

java.lang.Object
  extended by oracle.adfdt.view.common.binding.creator.v2.BaseBinder2<O>
      extended by oracle.adfdt.view.common.binding.creator.v2.BasePattern<O>

All Implemented Interfaces:
Binder2<O>, Creator2<O>
Direct Known Subclasses:
GoLinkPattern, TablePattern

public abstract class BasePattern<O extends PatternOptions>
extends BaseBinder2<O>
implements Creator2<O>

A convenience class for cases where the creator and binder of a particular pattern share the same code. This by default follows the same semantic characteristics of BaseBinder2 and BaseCreator2. Additional functionality can be restored by subclassing the appropriate methods.


Constructor Summary
BasePattern()
           

 

Method Summary
abstract  CreatorResult create(CreatorParams<O> params)
          To be implemented by subclasses.
 O createOptions(CreatorParams<O> params)
          Binders can provide an options class that can be used to configure the environment based on what is already there.

 

Methods inherited from class oracle.adfdt.view.common.binding.creator.v2.BaseBinder2
bind, canRebind, generateOptions, getSingleBindRoot

 

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

 

Constructor Detail

BasePattern

public BasePattern()

Method Detail

create

public abstract CreatorResult create(CreatorParams<O> params)
To be implemented by subclasses. See Creator2 for API usage.
Specified by:
create in interface Creator2<O extends PatternOptions>
Parameters:
params - See CreatorParams for listing

createOptions

public O createOptions(CreatorParams<O> params)
Binders can provide an options class that can be used to configure the environment based on what is already there. Most binders do not support this however. The framework will never call this method.
Specified by:
createOptions in interface Creator2<O extends PatternOptions>
Parameters:
params - See CreatorParams for a complete list
Returns:
An instance of PatternOptions with the current options set, or null if not supported

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.