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 classLinkResultImpl.Type
-
Field Summary
Fields Modifier and Type Field Description private booleanincludeMarkerprivate Nodenodeprivate Positionpositionprivate LinkResultImpl.Typetype
-
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 NodegetNode()PositiongetPosition()LinkResultImpl.TypegetType()LinkResultincludeMarker()If aLinkInfo.marker()is present, include it in processing (i.e.booleanisIncludeMarker()
-
-
-
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:LinkResultIf aLinkInfo.marker()is present, include it in processing (i.e. treat it the same way as the brackets).- Specified by:
includeMarkerin interfaceLinkResult
-
getType
public LinkResultImpl.Type getType()
-
getNode
public Node getNode()
-
getPosition
public Position getPosition()
-
isIncludeMarker
public boolean isIncludeMarker()
-
-