Package ai.platon.pulsar.common.urls
Class Hyperlink
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.urls.ComparableUrlAware,ai.platon.pulsar.common.urls.UrlAware,kotlin.Comparable
public class Hyperlink extends AbstractUrl
A hyperlink, or simply a link, is a reference to data that the user can follow by clicking or tapping.
A hyperlink points to a whole document or to a specific element within a document. Hypertext is text with hyperlinks. The text that is linked from is called anchor text.
The anchor text, link label or link text is the visible, clickable text in an HTML hyperlink.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHyperlink.Companion
-
Field Summary
Fields Modifier and Type Field Description private Integerdepthprivate Stringtextprivate Integerorderprivate final StringconfiguredUrlprivate final BooleanisStandardprivate final URLtoURLprivate final URLtoURLOrNullprivate final BooleanisNilprivate final BooleanisPersistableprivate final Stringlabelprivate final Instantdeadlineprivate Stringlangprivate Stringcountryprivate Stringdistrictprivate IntegernMaxRetryprivate Stringurlprivate Stringargsprivate Stringreferrerprivate Stringhrefprivate Integerpriorityprivate final Stringrefererprivate final InstantdeadTimepublic final static Hyperlink.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final IntegergetDepth()final UnitsetDepth(Integer depth)final StringgetText()The anchor text final UnitsetText(String text)The anchor text final IntegergetOrder()The order of this hyperlink in it referrer page final UnitsetOrder(Integer order)The order of this hyperlink in it referrer page final HyperlinkDatumdata()-
Methods inherited from class ai.platon.pulsar.common.urls.AbstractUrl
compareTo, equals, getArgs, getConfiguredUrl, getCountry, getDeadline, getDistrict, getHref, getLabel, getLang, getNMaxRetry, getPriority, getReferrer, getToURL, getToURLOrNull, getUrl, hashCode, isNil, isPersistable, isStandard, serialize, setArgs, setCountry, setDistrict, setHref, setLang, setNMaxRetry, setPriority, setReferrer, setUrl, toString -
Methods inherited from class ai.platon.pulsar.common.urls.UrlAware
getDeadTime, getReferer -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
data
final HyperlinkDatum data()
-
-
-
-