|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.dtrt.view.ContentFactory
public class ContentFactory
Used to instantiate concrete Content objects with abstract interfaces...
Nested Class Summary | |
---|---|
static class |
ContentFactory.FactoryException |
Constructor Summary | |
---|---|
ContentFactory() |
Method Summary | |
---|---|
Content |
getContent(java.lang.String contentName) |
ContentUsage |
getContentUsage(java.lang.String elementName, java.lang.String namespaceURL, java.lang.Class[] paramTypes, java.lang.Object[] params) This method is intended for use by the impl of Content.createUsage and therefore shouldn't be called by application code. |
static ContentFactory |
getInstance() Get an instance of the factory to interact with Content. |
void |
registerUsageCreator(java.lang.String elementName, java.lang.String namespaceURL, java.lang.String className) Usages can be registered for creation by factory methods using the elementName and namespaceURL of the view layer component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentFactory()
Method Detail |
---|
public static ContentFactory getInstance()
public Content getContent(java.lang.String contentName)
contentName
- The technology specific name of the content Ex: for JSF it would be the pageName (like "/main.jspx")public void registerUsageCreator(java.lang.String elementName, java.lang.String namespaceURL, java.lang.String className)
elementName
-namespaceURL
-className
-public ContentUsage getContentUsage(java.lang.String elementName, java.lang.String namespaceURL, java.lang.Class[] paramTypes, java.lang.Object[] params)
elementName
- the registered element name of the handlernamespaceURL
- the registered namespace of the handlerparamTypes
-params
-
|
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 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |