Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.cmt
Class CmtElementRecognizer

java.lang.Object
  extended by oracle.ide.model.ElementRecognizer
      extended by oracle.jdeveloper.cmt.CmtElementRecognizer

public final class CmtElementRecognizer
extends ElementRecognizer

The CmtElementRecognizer interface provides the API for recognizing Cmt data types from specific urls.

See Also:
ElementFactory

Constructor Summary
CmtElementRecognizer()
           
 
Method Summary
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmtElementRecognizer

public CmtElementRecognizer()
Method Detail

recognize

public java.lang.Class recognize(java.net.URL url)
Gets the Class of the CmtModelNode associated with the specified URL or null.

Specified by:
recognize in class ElementRecognizer
Parameters:
url - unique URL identifying the node.
Returns:
the data Class.

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 project parameter specifies the Project for use when creating the object.

Specified by:
create in class ElementRecognizer
Parameters:
url - unique URL identifying the document.
project - the reference project Class.
Returns:
Design-time Element.
Throws:
java.lang.IllegalAccessException
java.lang.InstantiationException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.