Table of Contents

Class XBRLLink

Namespace
Manpuku.Edinet.Xbrl
Assembly
Manpuku.Edinet.Xbrl.dll

Represents a link element in an XBRL linkbase (presentation, definition, calculation, label, reference, footnote, or generic links).

public class XBRLLink : XbrlItem
Inheritance
XBRLLink
Inherited Members

Constructors

Initializes a new instance of the XBRLLink class.

public XBRLLink(DiscoverableTaxonomySet dts, XElement xml)

Parameters

dts DiscoverableTaxonomySet

The discoverable taxonomy set this link belongs to.

xml XElement

The XML element representing this link.

Properties

Gets the arcs contained in this link.

public required Arc[] Arcs { get; init; }

Property Value

Arc[]

Gets the kind of link.

public required XBRLLink.LinkKind Kind { get; init; }

Property Value

XBRLLink.LinkKind

Gets the labels contained in this link (label resources).

public required Label[] Labels { get; init; }

Property Value

Label[]

Gets the locators contained in this link.

public required Locator[] Locators { get; init; }

Property Value

Locator[]

Gets the reference resources contained in this link.

public required Reference[] References { get; init; }

Property Value

Reference[]

Gets the role type associated with this link.

public required RoleType RoleType { get; init; }

Property Value

RoleType

Methods

Retrieves all locators associated with the specified label.

public IEnumerable<Locator> GetLocatorsByLabel(string label)

Parameters

label string

The label used to identify and retrieve the associated locators. Cannot be null.

Returns

IEnumerable<Locator>

An enumerable collection of locators that are associated with the specified label. Returns an empty collection if no locators are found for the label.

Gets the tag name (XName) for the specified link kind.

public static XName TagNameOf(XBRLLink.LinkKind kind)

Parameters

kind XBRLLink.LinkKind

The link kind.

Returns

XName

The corresponding XName for the link tag.