MustacheTag

Inheritance: java.lang.Object

public class MustacheTag

Represents “mustache” tag.

Methods

MethodDescription
getReferenceOffset()Gets the zero-based starting position of the tag from the start of the getReferenceRun().
getReferenceRun()Gets the run that contains the beginning of the tag.
getText()Gets the text of the tag.

getReferenceOffset()

public int getReferenceOffset()

Gets the zero-based starting position of the tag from the start of the getReferenceRun().

Returns: int - The zero-based starting position of the tag from the start of the getReferenceRun().

getReferenceRun()

public Run getReferenceRun()

Gets the run that contains the beginning of the tag.

Returns: Run - The run that contains the beginning of the tag.

getText()

public String getText()

Gets the text of the tag.

Returns: java.lang.String - The text of the tag.