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
Class CreatorParams<O extends PatternOptions>

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

Direct Known Subclasses:
BinderParams

public class CreatorParams<O extends PatternOptions>
extends java.lang.Object

A set of parameters that are used during a create operation.


Constructor Summary
CreatorParams(ADFDesignTimeContext dtContext, CreationContext creationContext, ModelProvider modelProvider, org.w3c.dom.Node insertionSubtreeRoot, java.util.Map<java.lang.String,java.lang.Object> properties)
          Creates the CreatorParams with a common set of parameters.

 

Method Summary
 void addProperty(java.lang.String key, java.lang.Object value)
          Adds a new property.
 CreationContext getCreationContext()
          The creation context, that should be the same instance during a single create or rebind operation.
 ADFDesignTimeContext getDtContext()
          The environmental context.
 ModelProvider getModelProvider()
          The model provider for the pattern.
 O getOptions()
          Returns the current PatternOptions used for the rebind.
 org.w3c.dom.Document getOwnerDocument()
          The source document where the nodes will be inserted eventually.
 ModelProvider getParentModelProvider()
          A parent model provider, if the current model provider needs to be configured further.
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
          The set of properties used for the create or bind operation.
 org.w3c.dom.Node getRootSubTree()
          The root of the subtree where the nodes will get added by default, or the root of the subtree that is parenting the nodes that will be bound.
 void setOptions(O options)
          Sets a PatternOptions to guide rebinding.
 void setParentModelProvider(ModelProvider parentModelProvider)
           
 void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
           
 void setRootSubTree(org.w3c.dom.Node rootSubTree)
           

 

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

 

Constructor Detail

CreatorParams

public CreatorParams(ADFDesignTimeContext dtContext,
                     CreationContext creationContext,
                     ModelProvider modelProvider,
                     org.w3c.dom.Node insertionSubtreeRoot,
                     java.util.Map<java.lang.String,java.lang.Object> properties)
Creates the CreatorParams with a common set of parameters. Of these, dtContext, creationContext, modelProvider, and the insertionSubTree are required.

Method Detail

getDtContext

public ADFDesignTimeContext getDtContext()
The environmental context.

getCreationContext

public CreationContext getCreationContext()
The creation context, that should be the same instance during a single create or rebind operation.

getModelProvider

public ModelProvider getModelProvider()
The model provider for the pattern.

getRootSubTree

public org.w3c.dom.Node getRootSubTree()
The root of the subtree where the nodes will get added by default, or the root of the subtree that is parenting the nodes that will be bound.

setRootSubTree

public void setRootSubTree(org.w3c.dom.Node rootSubTree)

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
The source document where the nodes will be inserted eventually.

getParentModelProvider

public ModelProvider getParentModelProvider()
A parent model provider, if the current model provider needs to be configured further. This is used for creator delegation, forwarding, and insertion.

setParentModelProvider

public void setParentModelProvider(ModelProvider parentModelProvider)

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
The set of properties used for the create or bind operation.

setProperties

public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)

addProperty

public void addProperty(java.lang.String key,
                        java.lang.Object value)
Adds a new property. If there are no existing properties, this will create a new properties map, then add the new property. If properties exist, this will create a new properties map with values from the old properties map, then add the property. For this reason, if you know you are working with a mutable properties map (i.e. you passed it in), it is preferrable to fetch that map (see getProperties(.)), and add properties directly to that.

setOptions

public void setOptions(O options)
Sets a PatternOptions to guide rebinding.

getOptions

public O getOptions()
Returns the current PatternOptions used for the rebind.

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.