|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.ElementRecognizer
public abstract class ElementRecognizer
The ElementRecognizer
interface provides the API for recognizing
data types from specific object identifiers.
Data model frameworks can register their own recognizer with the
ElementFactory
.
ElementFactory
Constructor Summary | |
---|---|
ElementRecognizer()
|
Method Summary | |
---|---|
abstract Element |
create(java.net.URL url,
Project project)
Creates an instance of the design-time node associated with the specified url . |
abstract java.lang.Class |
recognize(java.net.URL url)
Gets the java.lang.Class of the data item associated with the specified java.net.URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementRecognizer()
Method Detail |
---|
public abstract java.lang.Class recognize(java.net.URL url)
url
- unique java.net.URL identifying the element.
public abstract Element create(java.net.URL url, Project project) throws java.lang.IllegalAccessException, java.lang.InstantiationException
url
. This method is called by the
ElementFactory
. This method must return a Element
instance. The type
parameter specifies the
Class
of the data object.
url
- unique URL
identifying the document.type
- the data Class
.
Element
.
java.lang.IllegalAccessException
java.lang.InstantiationException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |