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 Details
-
Link
public Link(GlobalAttributes global, boolean noscript, String href, 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
-
isNoscript
public boolean isNoscript() -
getHref
-
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
-