Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


oracle.search.sdk.crawler
Interface UrlCandidate


public interface UrlCandidate

UrlCandidate is an interface for any URL rewriter to read the value of a pending URL string and store the rewrite result.


Method Summary
 String getAccessUrl()
          Gets access URL.
 String getCandidateUrl()
          Gets the target URL string for rewrite checking.
 String getDisplayUrl()
          Gets the display URL.
 boolean isDiscard()
          Checks if the candidate URL should be ignored and discarded.
 void setAccessUrl(String url)
          Sets the access URL.
 void setDiscardFlag(boolean flag)
          Sets the discard flag for whether to ignore the candidate URL.
 void setDisplayUrl(String url)
          Sets the display URL.

 

Method Detail

getCandidateUrl

String getCandidateUrl()
Gets the target URL string for rewrite checking.
Returns:
The candidate URL string

setDisplayUrl

void setDisplayUrl(String url)
Sets the display URL.
Parameters:
url - the display URL string; it cannot be null

getDisplayUrl

String getDisplayUrl()
Gets the display URL.
Returns:
The display URL string.

setAccessUrl

void setAccessUrl(String url)
Sets the access URL.
Parameters:
url - - the access URL string, or null if there is no access URL

getAccessUrl

String getAccessUrl()
Gets access URL.
Returns:
The access URL string, or null if there is no access URL.

setDiscardFlag

void setDiscardFlag(boolean flag)
Sets the discard flag for whether to ignore the candidate URL.
Parameters:
flag - - the Boolean flag value

isDiscard

boolean isDiscard()
Checks if the candidate URL should be ignored and discarded.
Returns:
The discard flag.

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved.