|
Extension SDK 10.1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.ide.model.AbstractElementRecognizer
oracle.jdeveloper.cmt.CmtElementRecognizer
The CmtElementRecognizer interface provides the API for recognizing
Cmt data types from specific urls.
ElementFactory| Constructor Summary | |
CmtElementRecognizer()
|
|
| Method Summary | |
Node |
create(java.net.URL url,
java.lang.Class type)
Creates an instance of the design-time node associated with the specified URL. |
Element |
create(java.net.URL url,
Project project)
Creates an instance of the design-time node associated with the specified url. |
java.lang.Class |
recognize(java.net.URL url)
Gets the Class of the CmtModelNode associated with the
specified URL or null. |
| Methods inherited from class oracle.ide.model.AbstractElementRecognizer |
canConvert, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmtElementRecognizer()
| Method Detail |
public java.lang.Class recognize(java.net.URL url)
Class of the CmtModelNode associated with the
specified URL or null.
url - unique URL identifying the node.
Class.
public Node create(java.net.URL url,
java.lang.Class type)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
URL. This method is called by the
NodeFactory. This method must return a Node
instance. The type parameter specifies the
Class of the data object.
create in interface Recognizercreate in class AbstractElementRecognizerurl - unique URL identifying the document.type - the data Class.
java.lang.IllegalAccessException
java.lang.InstantiationException
public 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 project parameter specifies the
Project for use when creating the object.
url - unique URL identifying the document.project - the reference project Class.
Element.
java.lang.IllegalAccessException
java.lang.InstantiationException
|
Extension SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2004, Oracle. All rights reserved.