DAVIGNON Andre - CETE NP/DIODé/PANDOC a écrit :
> Oui, j'ai vu, mais je ne sais pas à quoi correspond le paramètre
> "java.lang.String identifierNodeName" dans la méthode reveiveResponse...

C'est plutôt obscur :
http://www.nongnu.org/sdx/docs/html/doc-sdx2/apidocs/fr/gouv/culture/oai/OAIHarvester.html#setIdentifierName(java.lang.String)
http://www.nongnu.org/sdx/docs/html/doc-sdx2/apidocs/fr/gouv/culture/oai/AbstractOAIHarvester.html#identifierName

Dans le code :
fr.gouv.culture.oai.AbstractOAIHarvester.startElement()
[...]
/*looking for an element name or the VALUE of an attribute with the name
"name" matching super.indentifierName
*so one could create a metadata identifier element like
*<super.identifierName>myIdentifierValue</super.identifierName>
*or
*<anyElementName
name="super.identifierName">myIdentifierValue</anyElementName>
*/

Ce que je retiendrai :
protected String identifierName = "";//Defaulted for nothing
-- 
Malo


_______________________________________________
sdx-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/sdx-users

Répondre à