private boolean serializeCompactRDFAttrProps(XMPNode parentNode,int indent) throws IOException {
  boolean allAreAttrs=true;
  for (Iterator it=parentNode.iterateChildren(); it.hasNext(); ) {
    XMPNode prop=(XMPNode)it.next();
    if (canBeRDFAttrProp(prop)) {
      writeNewline();
      writeIndent(indent);
      write(prop.getName());
      write("=\"");
      appendNodeValue(prop.getValue(),true);
      write('"');
    }
 else {
      allAreAttrs=false;
    }
  }
  return allAreAttrs;
}

private boolean serializeCompactRDFAttrProps ( XMPNode parentNode , int indent ) throws IOException { boolean allAreAttrs = true ; for ( Iterator it = parentNode . iterateChildren ( ) ; it . hasNext ( ) ; ) { XMPNode prop = ( XMPNode ) it . next ( ) ; if ( canBeRDFAttrProp ( prop ) ) { writeNewline ( ) ; writeIndent ( indent ) ; write ( prop . getName ( ) ) ; write ( "=\"" ) ; appendNodeValue ( prop . getValue ( ) , true ) ; write ( '"' ) ; } else { allAreAttrs = false ; } } return allAreAttrs ; }
write each of the parent ' s simple unqualified properties as an attribute . returns true if all of the properties are written as attributes .
