private void startList(boolean isOrderedList,Attributes attributes){
  boolean isIndentation=isIndentation(attributes);
  ParagraphType newType=isIndentation && isOrderedList ? ParagraphType.INDENTATION_OL : isIndentation && !isOrderedList ? ParagraphType.INDENTATION_UL : isOrderedList ? ParagraphType.NUMBERING : ParagraphType.BULLET;
  AccumulatedParagraphStyle currentStyle=mParagraphStyles.isEmpty() ? null : mParagraphStyles.peek();
  if (currentStyle == null) {
    AccumulatedParagraphStyle newStyle=new AccumulatedParagraphStyle(newType,1,1);
    mParagraphStyles.push(newStyle);
  }
 else   if (currentStyle.getType() == newType) {
    currentStyle.setAbsoluteIndent(currentStyle.getAbsoluteIndent() + 1);
    currentStyle.setRelativeIndent(currentStyle.getRelativeIndent() + 1);
  }
 else {
    AccumulatedParagraphStyle newStyle=new AccumulatedParagraphStyle(newType,currentStyle.getAbsoluteIndent() + 1,1);
    mParagraphStyles.push(newStyle);
  }
}

private void startList ( boolean isOrderedList , Attributes attributes ) { boolean isIndentation = isIndentation ( attributes ) ; ParagraphType newType = isIndentation && isOrderedList ? ParagraphType . INDENTATION_OL : isIndentation && ! isOrderedList ? ParagraphType . INDENTATION_UL : isOrderedList ? ParagraphType . NUMBERING : ParagraphType . BULLET ; AccumulatedParagraphStyle currentStyle = mParagraphStyles . isEmpty ( ) ? null : mParagraphStyles . peek ( ) ; if ( currentStyle == null ) { AccumulatedParagraphStyle newStyle = new AccumulatedParagraphStyle ( newType , 1 , 1 ) ; mParagraphStyles . push ( newStyle ) ; } else if ( currentStyle . getType ( ) == newType ) { currentStyle . setAbsoluteIndent ( currentStyle . getAbsoluteIndent ( ) + 1 ) ; currentStyle . setRelativeIndent ( currentStyle . getRelativeIndent ( ) + 1 ) ; } else { AccumulatedParagraphStyle newStyle = new AccumulatedParagraphStyle ( newType , currentStyle . getAbsoluteIndent ( ) + 1 , 1 ) ; mParagraphStyles . push ( newStyle ) ; } }
handles ol and ul start tags
