Initializer
Link(String|LinkRel rel, String href, String|LinkType|Null type = null, String? id = null)
Parameters:
  • rel

    The relationship type.

  • href

    The reference to the resource.

  • type = null

    The content mime type.

  • id = null
Attributes
attributesSource Codeshared actual default <String->Object>[] attributes
Refines Element.attributes ultimately refines Node.attributes
hrefSource Codeshared String href

The reference to the resource.

relSource Codeshared String|LinkRel rel

The relationship type.

tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
typeSource Codeshared String|LinkType|Null type

The content mime type.

Inherited Attributes
Attributes inherited from: Element
Attributes inherited from: Object
Inherited Methods
Methods inherited from: Object