Top Description Fields Constructors Methods
jdk.internal.org.commonmark.parser

public Class SourceLine

extends Object
Class Inheritance
Imports
jdk.internal.org.commonmark.node.SourceSpan

A line or part of a line from the input source.
Since
0.16.0

Field Summary

Modifier and TypeField and Description
private final CharSequence
private final SourceSpan

Constructor Summary

AccessConstructor and Description
private
SourceLine(CharSequence content, SourceSpan sourceSpan)

Method Summary

Modifier and TypeMethod and Description
public CharSequence
public SourceSpan
public static SourceLine
of(CharSequence content, SourceSpan sourceSpan)

public SourceLine
substring(int beginIndex, int endIndex)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contentback to summary
private final CharSequence content
sourceSpanback to summary
private final SourceSpan sourceSpan

Constructor Detail

SourceLineback to summary
private SourceLine(CharSequence content, SourceSpan sourceSpan)

Method Detail

getContentback to summary
public CharSequence getContent()
getSourceSpanback to summary
public SourceSpan getSourceSpan()
ofback to summary
public static SourceLine of(CharSequence content, SourceSpan sourceSpan)
substringback to summary
public SourceLine substring(int beginIndex, int endIndex)