public boolean appendPrefix ( int tl , int td , StringBuffer sb ) { if ( dr . scopeData != null ) { int ix = tl * 3 + td ; ScopeData sd = dr . scopeData [ ix ] ; if ( sd != null ) { String prefix = sd . prefix ; if ( prefix != null ) { sb . append ( prefix ) ; return sd . requiresDigitPrefix ; } } } return false ; }
Append the appropriate prefix to the string builder depending on whether and how a limit and direction are to be displayed .