Package org.commonmark.internal.inline
Class LinkResultImpl
- java.lang.Object
-
- org.commonmark.internal.inline.LinkResultImpl
-
- All Implemented Interfaces:
LinkResult
public class LinkResultImpl extends java.lang.Object implements LinkResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LinkResultImpl.Type
-
Field Summary
Fields Modifier and Type Field Description private boolean
includeMarker
private Node
node
private Position
position
private LinkResultImpl.Type
type
-
Constructor Summary
Constructors Constructor Description LinkResultImpl(LinkResultImpl.Type type, Node node, Position position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
Position
getPosition()
LinkResultImpl.Type
getType()
LinkResult
includeMarker()
If aLinkInfo.marker()
is present, include it in processing (i.e.boolean
isIncludeMarker()
-
-
-
Field Detail
-
type
private final LinkResultImpl.Type type
-
node
private final Node node
-
position
private final Position position
-
includeMarker
private boolean includeMarker
-
-
Constructor Detail
-
LinkResultImpl
public LinkResultImpl(LinkResultImpl.Type type, Node node, Position position)
-
-
Method Detail
-
includeMarker
public LinkResult includeMarker()
Description copied from interface:LinkResult
If aLinkInfo.marker()
is present, include it in processing (i.e. treat it the same way as the brackets).- Specified by:
includeMarker
in interfaceLinkResult
-
getType
public LinkResultImpl.Type getType()
-
getNode
public Node getNode()
-
getPosition
public Position getPosition()
-
isIncludeMarker
public boolean isIncludeMarker()
-
-