@ Override public ContentElement parseContentElement ( String src ) { SpanManager sm = new SpanManager ( src ) ; ContentElementParsingParameters cepp = new ContentElementParsingParameters ( ) ; parseImagesAndInternalLinks ( sm , cepp . linkSpans , cepp . links ) ; LinkedList < Span > lineSpans = new LinkedList < Span > ( ) ; getLineSpans ( sm , lineSpans ) ; sm . removeManagedList ( lineSpans ) ; return ( parseContentElement ( sm , cepp , lineSpans , new ContentElement ( ) ) ) ; }
Building a ContentElement from a String