|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfdt.view.common.binding.BaseADFDesignTimeContext
public abstract class BaseADFDesignTimeContext
Serves as a base implementation for ADFDesignTimeContexts. Classes implementing ADFDesignTimeContext are encouraged to use this as a base.
Constructor Summary | |
---|---|
BaseADFDesignTimeContext() |
Method Summary | |
---|---|
oracle.adfdt.model.objects.PageDefinition |
findAndCachePageDefinition() If supported by the environment, this will locate the page definition if it exists, then cache it for further use. |
java.util.Set<java.lang.String> |
gatherViewIds() Returns all view ids currently in the owning document. |
java.lang.String |
generateName(java.util.Set<java.lang.String> existingNames, java.lang.String name) Generates a unique name from the set of existing names. |
java.lang.String |
generateUniqueIdForView(java.lang.String baseId) |
org.w3c.dom.DocumentFragment |
parseDocumentFragment(java.util.Map namespaces, java.lang.String text) |
void |
prepareAppendElement(org.w3c.dom.Element root, org.w3c.dom.Element subtree) |
void |
setupApplication(oracle.adfdt.model.objects.Application application) |
void |
setupEnvironmentForADFModelController() |
void |
setupEnvironmentForDataControl(oracle.adfdt.model.objects.DataControl control) |
void |
setupEnvironmentForView() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.adfdt.ADFDesignTimeContext |
---|
findOrCreateApplication, findOrCreatePageDefinition, findOrCreatePageDefinition, findOrCreatePageDefinitionUsage, findPageDefinition, getDefaultLocale, getEnvironmentContext, getNormalizedPagePath, getViewDocument, launchBindingEditor |
Constructor Detail |
---|
public BaseADFDesignTimeContext()
Method Detail |
---|
public oracle.adfdt.model.objects.PageDefinition findAndCachePageDefinition()
findAndCachePageDefinition
in interface ADFDesignTimeContext
public java.util.Set<java.lang.String> gatherViewIds()
public java.lang.String generateName(java.util.Set<java.lang.String> existingNames, java.lang.String name)
Set<String> ids = <context>.gatherViewIds(); String id1 = <context>.generateName(ids, "foo"); // set id1 on some element ids.add(id1); String id2 = <context>.generateName(ids, "foo"); // set id2 on some element ids.add(id2);
public org.w3c.dom.DocumentFragment parseDocumentFragment(java.util.Map namespaces, java.lang.String text)
parseDocumentFragment
in interface ADFDesignTimeContext
public java.lang.String generateUniqueIdForView(java.lang.String baseId)
generateUniqueIdForView
in interface ADFDesignTimeContext
public void prepareAppendElement(org.w3c.dom.Element root, org.w3c.dom.Element subtree)
prepareAppendElement
in interface ADFDesignTimeContext
public void setupEnvironmentForView()
setupEnvironmentForView
in interface ADFDesignTimeContext
public void setupApplication(oracle.adfdt.model.objects.Application application)
setupApplication
in interface ADFDesignTimeContext
public void setupEnvironmentForADFModelController()
setupEnvironmentForADFModelController
in interface ADFDesignTimeContext
public void setupEnvironmentForDataControl(oracle.adfdt.model.objects.DataControl control)
setupEnvironmentForDataControl
in interface ADFDesignTimeContext
|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |