oracle.ide.model
Interface ElementRecognizer
- All Superinterfaces:
- Recognizer
- All Known Implementing Classes:
- AbstractElementRecognizer
- public interface ElementRecognizer
- extends Recognizer
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
.
- See Also:
ElementFactory
Method Summary |
Element |
create(java.net.URL url, Project project)
Creates an instance of the design-time node associated with the specified url . |
create
public Element create(java.net.URL url,
Project project)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
- Creates an instance of the design-time node associated with the specified
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.
-
- Parameters:
url
- unique URL
identifying the document.
- Returns:
- Design-time
Element
.
- Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException
Copyright © 1997, 2004, Oracle. All rights reserved.