question: public View createFragment ( int p0 , int p1 ) { checkPainter ( ) ; Element elem = getElement ( ) ; GlyphView v = ( GlyphView ) clone ( ) ; v . offset = p0 - elem . getStartOffset ( ) ; v . length = p1 - p0 ; v . painter = painter . getPainter ( v , p0 , p1 ) ; v . justificationInfo = null ; return v ; }
target:  Creates a view that represents a portion of the element. This is potentially useful during formatting operations for taking measurements of fragments of the view.  If the view doesn't support fragmenting (the default), it should return itself. <p> This view does support fragmenting.  It is implemented to return a nested class that shares state in this view representing only a portion of the view.