private Start build(Start event){
  NamedNodeMap list=event.getAttributes();
  int length=list.getLength();
  for (int i=0; i < length; i++) {
    Node node=list.item(i);
    Attribute value=attribute(node);
    if (!value.isReserved()) {
      event.add(value);
    }
  }
  return event;
}

private Start build ( Start event ) { NamedNodeMap list = event . getAttributes ( ) ; int length = list . getLength ( ) ; for ( int i = 0 ; i < length ; i ++ ) { Node node = list . item ( i ) ; Attribute value = attribute ( node ) ; if ( ! value . isReserved ( ) ) { event . add ( value ) ; } } return event ; }
this is used to build the attributes that are to be used to populate the start event . populating the start event with the attributes it contains is required so that each element will contain its associated attributes . only attributes that are not reserved will be added to the start event .
