Class IndexSpan

java.lang.Object
com.teamten.markdown.Span
com.teamten.markdown.IndexSpan

public class IndexSpan extends Span
Stores an index reference.
  • Constructor Details

    • IndexSpan

      public IndexSpan(List<Block> entries)
  • Method Details

    • fromBarSeparatedEntries

      public static IndexSpan fromBarSeparatedEntries(String entries)
      Create an index span from a single string, where the entries are separated by bars (|).
    • getEntries

      public List<Block> getEntries()
      Return the entries, where the first entry is the primary one, the second is the subentry, etc.
    • postProcessText

      public void postProcessText(String locale)
      Description copied from class: Span
      Convert apostrophes, quotes, etc.
      Overrides:
      postProcessText in class Span
      Parameters:
      locale - the locale being processed ("en_US", "fr", etc.).