org.apache.slide.extractor
Class ExtractorManager

java.lang.Object
  extended byorg.apache.slide.extractor.ExtractorManager
All Implemented Interfaces:
Configurable

public class ExtractorManager
extends java.lang.Object
implements Configurable

The ExtractorManager class


Method Summary
 void addExtractor(Extractor extractor)
           
 void configure(Configuration config)
           
 ContentExtractor[] getContentExtractors(java.lang.String namespace, NodeRevisionDescriptors descriptors, NodeRevisionDescriptor descriptor)
           
 java.util.List getContentExtractors(java.lang.String namespace, java.lang.String uri, NodeRevisionDescriptor descriptor)
           
 Extractor[] getExtractors(java.lang.String namespace, NodeRevisionDescriptors descriptors, NodeRevisionDescriptor descriptor)
           
static ExtractorManager getInstance()
           
 PropertyExtractor[] getPropertyExtractors(java.lang.String namespace, NodeRevisionDescriptors descriptors, NodeRevisionDescriptor descriptor)
           
 boolean hasContentExtractor(java.lang.String namespace, java.lang.String uri, NodeRevisionDescriptor descriptor)
           
(package private) static boolean matches(Extractor extractor, java.lang.String namespace, NodeRevisionDescriptors descriptors, NodeRevisionDescriptor descriptor)
           
(package private) static boolean matches(Extractor extractor, java.lang.String namespace, java.lang.String uri, NodeRevisionDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ExtractorManager getInstance()

addExtractor

public void addExtractor(Extractor extractor)

getPropertyExtractors

public PropertyExtractor[] getPropertyExtractors(java.lang.String namespace,
                                                 NodeRevisionDescriptors descriptors,
                                                 NodeRevisionDescriptor descriptor)

getContentExtractors

public ContentExtractor[] getContentExtractors(java.lang.String namespace,
                                               NodeRevisionDescriptors descriptors,
                                               NodeRevisionDescriptor descriptor)

getContentExtractors

public java.util.List getContentExtractors(java.lang.String namespace,
                                           java.lang.String uri,
                                           NodeRevisionDescriptor descriptor)

getExtractors

public Extractor[] getExtractors(java.lang.String namespace,
                                 NodeRevisionDescriptors descriptors,
                                 NodeRevisionDescriptor descriptor)

hasContentExtractor

public boolean hasContentExtractor(java.lang.String namespace,
                                   java.lang.String uri,
                                   NodeRevisionDescriptor descriptor)

matches

static boolean matches(Extractor extractor,
                       java.lang.String namespace,
                       NodeRevisionDescriptors descriptors,
                       NodeRevisionDescriptor descriptor)

matches

static boolean matches(Extractor extractor,
                       java.lang.String namespace,
                       java.lang.String uri,
                       NodeRevisionDescriptor descriptor)

configure

public void configure(Configuration config)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException