protected void decodeAttributes(mxCodec dec,Node node,Object obj){
  NamedNodeMap attrs=node.getAttributes();
  if (attrs != null) {
    for (int i=0; i < attrs.getLength(); i++) {
      Node attr=attrs.item(i);
      decodeAttribute(dec,attr,obj);
    }
  }
}

protected void decodeAttributes ( mxCodec dec , Node node , Object obj ) { NamedNodeMap attrs = node . getAttributes ( ) ; if ( attrs != null ) { for ( int i = 0 ; i < attrs . getLength ( ) ; i ++ ) { Node attr = attrs . item ( i ) ; decodeAttribute ( dec , attr , obj ) ; } } }
decodes all attributes of the given node using decodeattribute .
