org.semanticdesktop.aperture.datasource.web
Class WebDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource
          extended by org.semanticdesktop.aperture.datasource.web.WebDataSource
All Implemented Interfaces:
DomainBoundable, DataSource

public class WebDataSource
extends DomainBoundableDataSource

Data source class file. Created by org.semanticdesktop.aperture.datasource.mojo.DataSourceClassGenerator on Thu Jul 01 14:28:16 CEST 2010 input file: D:\intella\aperture-trunk\target\checkout\core\src\main\resources\org\semanticdesktop\aperture\datasource\web\webDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2007/08/12/webds#WebDataSource


Constructor Summary
WebDataSource()
           
 
Method Summary
 Boolean getIncludeEmbeddedResources()
          Returns the Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results
 Integer getMaximumDepth()
          Returns the How many levels of link references should the crawler cover.
 Long getMaximumSize()
          Returns the Maximum size (in bytes) of resources reported by the crawler
 String getRootUrl()
          Returns the URL of the webpage were the crawling should begin
 URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 void setIncludeEmbeddedResources(Boolean includeEmbeddedResources)
          Sets the Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results
 void setMaximumDepth(Integer maximumDepth)
          Sets the How many levels of link references should the crawler cover.
 void setMaximumSize(Long maximumSize)
          Sets the Maximum size (in bytes) of resources reported by the crawler
 void setRootUrl(String rootUrl)
          Sets the URL of the webpage were the crawling should begin
 
Methods inherited from class org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource
getDomainBoundaries, setDomainBoundaries
 
Methods inherited from class org.semanticdesktop.aperture.datasource.base.DataSourceBase
dispose, getComment, getConfiguration, getID, getName, getTimeout, setComment, setConfiguration, setName, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebDataSource

public WebDataSource()
Method Detail

getType

public URI getType()
Description copied from interface: DataSource
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.

Returns:
A URI indicating the DataSource type
See Also:
DataSource.getType()

getRootUrl

public String getRootUrl()
Returns the URL of the webpage were the crawling should begin

Returns:
the URL of the webpage were the crawling should begin or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setRootUrl

public void setRootUrl(String rootUrl)
Sets the URL of the webpage were the crawling should begin

Parameters:
rootUrl - URL of the webpage were the crawling should begin, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getIncludeEmbeddedResources

public Boolean getIncludeEmbeddedResources()
Returns the Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results

Returns:
the Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setIncludeEmbeddedResources

public void setIncludeEmbeddedResources(Boolean includeEmbeddedResources)
Sets the Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results

Parameters:
includeEmbeddedResources - Should the embedded resources (images, sounds, flash animations etc.) be included in the crawl results, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getMaximumDepth

public Integer getMaximumDepth()
Returns the How many levels of link references should the crawler cover.

Returns:
the How many levels of link references should the crawler cover. or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setMaximumDepth

public void setMaximumDepth(Integer maximumDepth)
Sets the How many levels of link references should the crawler cover.

Parameters:
maximumDepth - How many levels of link references should the crawler cover., can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getMaximumSize

public Long getMaximumSize()
Returns the Maximum size (in bytes) of resources reported by the crawler

Returns:
the Maximum size (in bytes) of resources reported by the crawler or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setMaximumSize

public void setMaximumSize(Long maximumSize)
Sets the Maximum size (in bytes) of resources reported by the crawler

Parameters:
maximumSize - Maximum size (in bytes) of resources reported by the crawler, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method


Copyright © 2010 Aperture Development Team. All Rights Reserved.