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

E13403-04

javax.ide.model
Class Recognizer

java.lang.Object
  extended by javax.ide.model.Recognizer

public abstract class Recognizer
extends java.lang.Object

The Recognizer interface provides the API for recognizing data types from specific uris.

Data model frameworks can register their own recognizer with the DocumentFactory.

See Also:
DocumentFactory

Constructor Summary
Recognizer()
           
 
Method Summary
abstract  MetaClass recognize(java.net.URI uri)
          Gets the Class of the data item associated with the specified URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recognizer

public Recognizer()
Method Detail

recognize

public abstract MetaClass recognize(java.net.URI uri)
Gets the Class of the data item associated with the specified URI. Implementations must return null if the URI is not recognized. The Class returned must be the data model class.

Parameters:
uri - unique URI identifying the document.
Returns:
the document MetaClass.

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

E13403-04

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