public void addSequenceElement(SequenceElement elem){
  for (  Fragment comment : openFragments) {
    comment.addElement(elem);
  }
  for (  Fragment comment : closingFragments) {
    comment.addElement(elem);
  }
}

public void addSequenceElement ( SequenceElement elem ) { for ( Fragment comment : openFragments ) { comment . addElement ( elem ) ; } for ( Fragment comment : closingFragments ) { comment . addElement ( elem ) ; } }
adds the given sequence element to all open and closing fragments .
