Class HyperlinkDatum
-
- All Implemented Interfaces:
public final class HyperlinkDatumA hyperlink datum is a data class that represents a hyperlink.
-
-
Field Summary
Fields Modifier and Type Field Description private Stringurlprivate Stringtextprivate Integerorderprivate Stringreferrerprivate Stringargsprivate Stringhrefprivate BooleanisPersistableprivate Integerpriorityprivate Stringlangprivate Stringcountryprivate Stringdistrictprivate IntegernMaxRetryprivate Integerdepth
-
Method Summary
Modifier and Type Method Description final StringgetUrl()The url specification of the hyperlink, it is usually normalized, and can contain load arguments. final UnitsetUrl(String url)The url specification of the hyperlink, it is usually normalized, and can contain load arguments. final StringgetText()A hyperlink should have a text, so the default value is an empty string final UnitsetText(String text)A hyperlink should have a text, so the default value is an empty string final IntegergetOrder()The link order, e.g., the order in which the link appears on the referrer page. final UnitsetOrder(Integer order)The link order, e.g., the order in which the link appears on the referrer page. final StringgetReferrer()A hyperlink might have a referrer, so the default value is null final UnitsetReferrer(String referrer)A hyperlink might have a referrer, so the default value is null final StringgetArgs()The load argument, can be parsed into a LoadOptions final UnitsetArgs(String args)The load argument, can be parsed into a LoadOptions final StringgetHref()The hypertext reference, It defines the address of the document, which this time is linked from final UnitsetHref(String href)The hypertext reference, It defines the address of the document, which this time is linked from final BooleanisPersistable()If this link is persistable final UnitsetPersistable(Boolean isPersistable)If this link is persistable final IntegergetPriority()The priority of this hyperlink final UnitsetPriority(Integer priority)The priority of this hyperlink final StringgetLang()The language of this hyperlink final UnitsetLang(String lang)The language of this hyperlink final StringgetCountry()The country of this hyperlink final UnitsetCountry(String country)The country of this hyperlink final StringgetDistrict()The district of this hyperlink final UnitsetDistrict(String district)The district of this hyperlink final IntegergetNMaxRetry()The maximum number of retries final UnitsetNMaxRetry(Integer nMaxRetry)The maximum number of retries final IntegergetDepth()The depth final UnitsetDepth(Integer depth)The depth -
-
Method Detail
-
getUrl
final String getUrl()
The url specification of the hyperlink, it is usually normalized, and can contain load arguments.
-
setUrl
final Unit setUrl(String url)
The url specification of the hyperlink, it is usually normalized, and can contain load arguments.
-
getText
final String getText()
A hyperlink should have a text, so the default value is an empty string
-
setText
final Unit setText(String text)
A hyperlink should have a text, so the default value is an empty string
-
getOrder
final Integer getOrder()
The link order, e.g., the order in which the link appears on the referrer page.
-
setOrder
final Unit setOrder(Integer order)
The link order, e.g., the order in which the link appears on the referrer page.
-
getReferrer
final String getReferrer()
A hyperlink might have a referrer, so the default value is null
-
setReferrer
final Unit setReferrer(String referrer)
A hyperlink might have a referrer, so the default value is null
-
getHref
final String getHref()
The hypertext reference, It defines the address of the document, which this time is linked from
-
setHref
final Unit setHref(String href)
The hypertext reference, It defines the address of the document, which this time is linked from
-
isPersistable
final Boolean isPersistable()
If this link is persistable
-
setPersistable
final Unit setPersistable(Boolean isPersistable)
If this link is persistable
-
getPriority
final Integer getPriority()
The priority of this hyperlink
-
setPriority
final Unit setPriority(Integer priority)
The priority of this hyperlink
-
getCountry
final String getCountry()
The country of this hyperlink
-
setCountry
final Unit setCountry(String country)
The country of this hyperlink
-
getDistrict
final String getDistrict()
The district of this hyperlink
-
setDistrict
final Unit setDistrict(String district)
The district of this hyperlink
-
getNMaxRetry
final Integer getNMaxRetry()
The maximum number of retries
-
setNMaxRetry
final Unit setNMaxRetry(Integer nMaxRetry)
The maximum number of retries
-
-
-
-