/** * Returns the Text in the Span List in a String...<br> * all Spans must refer to the text returned by getText(). */ public String getText(List<Span> sl){ final String temp = getText(); StringBuilder result = new StringBuilder(); for( Span s: sl ) result.append( s.getText( temp )+' ' ); result.deleteCharAt( result.length()-1 ); return result.toString(); }
public List<Template> getTemplates(int start, int end){ return getTemplates( new Span(start, end )); }
public List<Span> getFormatSpans(FormatType t, int start, int end ){ return getFormatSpans(t, new Span( start, end ) ); }
public List<FormatType> getFormats(int start, int end){ return getFormats(new Span(start, end) ); }
public List<Link> getLinks( Link.type linkType, int start, int end){ return getLinks( linkType, new Span( start, end )); }