org.outerj.daisy.repository.serverimpl.linkextraction
Class LinkExtractor

java.lang.Object
  extended byorg.outerj.daisy.repository.serverimpl.linkextraction.LinkExtractor

public class LinkExtractor
extends java.lang.Object


Nested Class Summary
 class LinkExtractor.DaisyHtmlLinkExtractionHandler
           
static class LinkExtractor.LinkCollector
           
 class LinkExtractor.NavigationLinkExtractionHandler
           
 
Constructor Summary
LinkExtractor(org.outerj.daisy.repository.Document document, long documentId, long liveVersion, long lastVersion, boolean documentContainsLastVersion, org.outerj.daisy.repository.commonimpl.CommonRepository repository, org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser, org.apache.avalon.framework.logger.Logger logger)
          Constructor.
 
Method Summary
 java.util.Collection extract()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkExtractor

public LinkExtractor(org.outerj.daisy.repository.Document document,
                     long documentId,
                     long liveVersion,
                     long lastVersion,
                     boolean documentContainsLastVersion,
                     org.outerj.daisy.repository.commonimpl.CommonRepository repository,
                     org.outerj.daisy.repository.commonimpl.AuthenticatedUser systemUser,
                     org.apache.avalon.framework.logger.Logger logger)
Constructor.

The boolean documentContainsLastVersion indicates whether the data currently in the document object is the latest version. This is needed because the linkextractor is used during the storage of the document, when the new version does not yet really exist (likewise, that's why we need documentId and liveVersion explicitely).

Method Detail

extract

public java.util.Collection extract()
                             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © -2005 . All Rights Reserved.