Package org.commonmark.internal
Class InlineParserImpl.LinkInfoImpl
java.lang.Object
org.commonmark.internal.InlineParserImpl.LinkInfoImpl
- All Implemented Interfaces:
LinkInfo
- Enclosing class:
InlineParserImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe position after the closing text bracket, e.g.:The destination if available, e.g.label()The label, or null for inline links or for shortcut links (in which caseLinkInfo.text()should be used as the label).marker()The marker if present, or null.The text node of the opening bracket[.text()The text between the first brackets, e.g.title()The title if available, e.g.
-
Field Details
-
marker
-
openingBracket
-
text
-
label
-
destination
-
title
-
afterTextBracket
-
-
Constructor Details
-
LinkInfoImpl
-
-
Method Details
-
marker
Description copied from interface:LinkInfoThe marker if present, or null. A marker is e.g.!for an image, or a custom marker as specified inParser.Builder.linkMarker(java.lang.Character). -
openingBracket
Description copied from interface:LinkInfoThe text node of the opening bracket[.- Specified by:
openingBracketin interfaceLinkInfo
-
text
Description copied from interface:LinkInfoThe text between the first brackets, e.g. `foo` in `[foo][bar]`. -
label
Description copied from interface:LinkInfoThe label, or null for inline links or for shortcut links (in which caseLinkInfo.text()should be used as the label). -
destination
Description copied from interface:LinkInfoThe destination if available, e.g. in `[foo](destination)`, or null- Specified by:
destinationin interfaceLinkInfo
-
title
Description copied from interface:LinkInfoThe title if available, e.g. in `[foo](destination "title")`, or null -
afterTextBracket
Description copied from interface:LinkInfoThe position after the closing text bracket, e.g.:[foo][bar] ^- Specified by:
afterTextBracketin interfaceLinkInfo
-