public Iterator<String> findAttributes(){
  Set<String> attrs;
  if (attributes == null)   attrs=Collections.emptySet();
 else   attrs=attributes.keySet();
  return attrs.iterator();
}

public Iterator < String > findAttributes ( ) { Set < String > attrs ; if ( attributes == null ) attrs = Collections . emptySet ( ) ; else attrs = attributes . keySet ( ) ; return attrs . iterator ( ) ; }
return an iterator of the attribute names of this node . if there are no attributes , an empty iterator is returned .
