public abstract class Recognizer
extends java.lang.Object
Recognizer
interface provides the API for recognizing
data types from specific uris.
Data model frameworks can register their own recognizer with the
DocumentFactory
.
DocumentFactory
Constructor and Description |
---|
Recognizer() |
public abstract MetaClass recognize(java.net.URI uri)
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.uri
- unique URI
identifying the document.MetaClass
.