public class URLInputNode extends Node
Node.Cardinality
Constructor and Description |
---|
URLInputNode() |
Modifier and Type | Method and Description |
---|---|
Node.Cardinality |
getInputCardinality()
Return the input cardinality of this node, i.e.
|
List<URL> |
getURLs() |
String |
getWorkerClassName()
Return the node's associated
NodeWorker full qualified class's
name. |
boolean |
isAllowRelativeResources() |
void |
setAllowRelativeResources(boolean allowResources)
Allow or deny the retrieval of resources that are relatively (or in the same domain) linked to the first
downloaded resource.
|
void |
setURLs(List<URL> urls)
Specify the resources to download.
|
addTransportReceiver, appendSuccessor, apply, equals, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
public String getWorkerClassName()
Node
Return the node's associated
NodeWorker
full qualified class's
name. By default, the worker class name is
This behavior can be overridden in concrete subclasses.
getWorkerClassName
in class Node
public void setURLs(List<URL> urls)
urls
- the resources to download.public boolean isAllowRelativeResources()
public void setAllowRelativeResources(boolean allowResources)
Allow or deny the retrieval of resources that are relatively (or in the same domain) linked to the first
downloaded resource. References that are linked absolutely must be allowed in subsequent
processing nodes, e.g. via HTMLRendererNode.setAllowHTTPResources(boolean)
.
Default value: false
allowResources
- true if and only if retrieval of hyperlinks is allowedpublic Node.Cardinality getInputCardinality()
Node
getInputCardinality
in class Node
Copyright © 2017 levigo holding gmbh. All rights reserved.