question: static void rdf_RDF ( XMPMetaImpl xmp , Node rdfRdfNode ) throws XMPException { if ( rdfRdfNode . hasAttributes ( ) ) { rdf_NodeElementList ( xmp , xmp . getRoot ( ) , rdfRdfNode ) ; } else { throw new XMPException ( "Invalid attributes of rdf:RDF element" , BADRDF ) ; } }
target:  Each of these parsing methods is responsible for recognizing an RDF syntax production and adding the appropriate structure to the XMP tree. They simply return for success, failures will throw an exception.