Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.model
Class FileContentRecognizer

java.lang.Object
  extended by oracle.ide.model.Recognizer
      extended by oracle.ide.model.AbstractFileContentRecognizerTemplate
          extended by oracle.ide.model.FileContentRecognizer

public class FileContentRecognizer
extends AbstractFileContentRecognizerTemplate


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.ide.model.AbstractFileContentRecognizerTemplate
AbstractFileContentRecognizerTemplate.ContentToLookFor, AbstractFileContentRecognizerTemplate.FileContentRule
 
Nested classes/interfaces inherited from class oracle.ide.model.Recognizer
Recognizer.DeclarativeDocumentInfo
 
Constructor Summary
FileContentRecognizer()
           
 
Method Summary
 MetaClass<? extends Node> recognizeAsMeta(java.net.URL url)
          This method allows gets the MetaClass of a recognized Node.
 
Methods inherited from class oracle.ide.model.AbstractFileContentRecognizerTemplate
fileFrom, recognizeURL
 
Methods inherited from class oracle.ide.model.Recognizer
canConvert, create, findRecognizer, getClassForExtension, getContentTypeForExtension, getDeclarativeExtensionToClassMap, getDeclarativeExtensionToContentTypeMap, getDefaultNodeType, getDefaultNodeTypeAsMeta, getDefaultRecognizer, getDocumentInfo, getDocumentInfo, getDocumentInfoForDeclarativeEntries, getExtensionToClassMap, getExtensionToContentTypeMap, getLogger, isXmlExtension, mapExtensionToClass, mapExtensionToContentType, mapExtensionToXML, recognize, recognizeURL, recognizeURL, recognizeURLAsMeta, recognizeURLAsMeta, registerConversion, registerDocumentInfo, registerLowPriorityRecognizer, registerRecognizer, registerRecognizer, sanitizeExtension, setDefaultRecognizer, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContentRecognizer

public FileContentRecognizer()
Method Detail

recognizeAsMeta

public MetaClass<? extends Node> recognizeAsMeta(java.net.URL url)
Description copied from class: Recognizer
This method allows gets the MetaClass of a recognized Node. This is useful for cases in which the classloader of a metaclass is not the same as the real classloader of the node class. It may also be useful, for cases when we need to get the MetaClass of a recognized node without initializing the node extensions.

Overrides:
recognizeAsMeta in class Recognizer
Parameters:
url - unique URL identifying the document.
Returns:
the Node type as a MetaClass object.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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