MCPcopy Create free account
hub / github.com/Fedict/dcattools / writeFunding

Method writeFunding

tools/src/main/java/be/gov/data/tools/EDP.java:405–410  ·  view source on GitHub ↗

Write funding @param w XML writer @param con RDF triple store connection @param cl class name (used for element tag) @param uri URI of the dataset @throws XMLStreamException

(XMLStreamWriter w, RepositoryConnection con, String cl, Resource uri)

Source from the content-addressed store, hash-verified

403 * @throws XMLStreamException
404 */
405 private static void writeFunding(XMLStreamWriter w, RepositoryConnection con, String cl, Resource uri)
406 throws XMLStreamException {
407 w.writeStartElement(cl);
408 writeLiterals(w, con, uri, FOAF.NAME, "foaf:name");
409 w.writeEndElement();
410 }
411
412 /**
413 * Write geodcat roles of a dcat:Dataset

Callers 1

writeResourceMethod · 0.95

Calls 1

writeLiteralsMethod · 0.95

Tested by

no test coverage detected