java.lang.Object
com.aoapps.taglib.Link
Holds the data for a Link tag that is passed between LinkTag and any LinksAttribute parent.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorDescriptionLink
(GlobalAttributes global, String href, boolean absolute, boolean canonical, URIParameters params, AddLastModified addLastModified, Object hreflang, String rel, String type, Object media, Object title, Object onerror, Object onload) Creates a new link. -
Method Summary
-
Constructor Details
-
Link
public Link(GlobalAttributes global, String href, boolean absolute, boolean canonical, URIParameters params, AddLastModified addLastModified, Object hreflang, String rel, String type, Object media, Object title, Object onerror, Object onload) Creates a new link.- Parameters:
hreflang
- When is aLocale
, callsLocale.toLanguageTag()
. Anything else is either directly streamed or coerced to String.- See Also:
-
-
Method Details
-
getGlobal
-
getHref
-
getAbsolute
public boolean getAbsolute() -
getCanonical
public boolean getCanonical() -
getParams
-
getAddLastModified
-
getHreflang
Gets the hreflang.- Returns:
- When is a
Locale
, callLocale.toLanguageTag()
. Anything else either stream directly or coerce to String. - See Also:
-
getRel
-
getType
-
getMedia
-
getTitle
-
getOnerror
-
getOnload
-