org.semanticdesktop.aperture.hypertext.linkextractor.impl
Class LinkExtractorRegistryImpl

java.lang.Object
  extended by org.semanticdesktop.aperture.hypertext.linkextractor.impl.LinkExtractorRegistryImpl
All Implemented Interfaces:
LinkExtractorRegistry
Direct Known Subclasses:
DefaultLinkExtractorRegistry

public class LinkExtractorRegistryImpl
extends Object
implements LinkExtractorRegistry


Constructor Summary
LinkExtractorRegistryImpl()
           
 
Method Summary
 void add(LinkExtractorFactory factory)
          Register a LinkExtractorFactory.
 Set get(String mimeType)
          Get all LinkExtractorFactories registered for the specified MIME type.
 Set getAll()
          Get all registered LinkExtractorFactories.
 void remove(LinkExtractorFactory factory)
          Remove a LinkExtractorFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkExtractorRegistryImpl

public LinkExtractorRegistryImpl()
Method Detail

add

public void add(LinkExtractorFactory factory)
Description copied from interface: LinkExtractorRegistry
Register a LinkExtractorFactory.

Specified by:
add in interface LinkExtractorRegistry

remove

public void remove(LinkExtractorFactory factory)
Description copied from interface: LinkExtractorRegistry
Remove a LinkExtractorFactory.

Specified by:
remove in interface LinkExtractorRegistry

getAll

public Set getAll()
Description copied from interface: LinkExtractorRegistry
Get all registered LinkExtractorFactories.

Specified by:
getAll in interface LinkExtractorRegistry
Returns:
A Set of LinkExtractorFactories.

get

public Set get(String mimeType)
Description copied from interface: LinkExtractorRegistry
Get all LinkExtractorFactories registered for the specified MIME type.

Specified by:
get in interface LinkExtractorRegistry
Returns:
A Set containing all LinkExtractorFactories that support the specified MIME type.


Copyright © 2010 Aperture Development Team. All Rights Reserved.