Top Description Methods
org.nibor.autolink

public Interface Span

Known Direct Subinterfaces
org.nibor.autolink.LinkSpan
Known Direct Implementers
org.nibor.autolink.internal.SpanImpl

A reference to a piece of the input text, either a link (see LinkSpan) or plain text.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

begin index (inclusive) in the original input that this link starts at
getBeginIndex
()

public int

Returns:

end index (exclusive) in the original input that this link ends at; in other words, index of first character after link
getEndIndex
()

Method Detail

getBeginIndexback to summary
public int getBeginIndex()
Returns:int

begin index (inclusive) in the original input that this link starts at

getEndIndexback to summary
public int getEndIndex()
Returns:int

end index (exclusive) in the original input that this link ends at; in other words, index of first character after link