Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model
Class Recognizer  view Recognizer download Recognizer.java

java.lang.Object
  extended byjavax.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.


Constructor Summary
Recognizer()
           
 
Method Summary
abstract  javax.ide.util.MetaClass recognize(java.net.URI uri)
          Gets the java.lang.Class of the data item associated with the specified java.net.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 javax.ide.util.MetaClass recognize(java.net.URI uri)
Gets the java.lang.Class of the data item associated with the specified java.net.URI. Implementations must return null if the java.net.URI is not recognized. The java.lang.Class returned must be the data model class.