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.3.0)

E18581-04


oracle.adfdt.view.common.binding.creator.v2
Interface Creator2<O extends PatternOptions>

All Known Implementing Classes:
AreaGraphPattern, BarGraphPattern, BaseCreator2, BasePattern, FormPattern, GoLinkPattern, LineGraphPattern, PieGraphPattern, TablePattern

public interface Creator2<O extends PatternOptions>

A programmatic way of creating new nodes to be inserted into the DOM for databinding patterns. Creators are only called during "create" operations and are not involved with "bind" operations. They are chiefly responsible for returning a document fragment which will then be inserted into the DOM at the given location (although this is configurable with the result - see CreatorResult). Technically, creators can manipulate the DOM directly, but this is discouraged as there is no gaurantee that a creator will have a transaction open at the time that it creates the node (although this is typically given). Clients may be interested in subclassing BaseCreator2 or BasePattern instead of directly implementing this interface.


Method Summary
 CreatorResult create(CreatorParams<O> params)
          Creates nodes to be inserted into the DOM.
 O createOptions(CreatorParams<O> params)
          If supported by the Creator, can create an pattern options resembling the default options for this creator.

 

Method Detail

create

CreatorResult create(CreatorParams<O> params)
Creates nodes to be inserted into the DOM. See CreatorResult for other return options.
Parameters:
params - See CreatorParams for listing

createOptions

O createOptions(CreatorParams<O> params)
If supported by the Creator, can create an pattern options resembling the default options for this creator.
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.3.0)

E18581-04


Copyright © 1997, 2012, Oracle. All rights reserved.