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

Method writeGenericInfo

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

Write generic info on (nested) elements @param w @param con @param iri

(XMLStreamWriter w, RepositoryConnection con, IRI iri)

Source from the content-addressed store, hash-verified

203 * @param iri
204 */
205 private static void writeGenericInfo(XMLStreamWriter w, RepositoryConnection con, IRI iri) throws XMLStreamException {
206 writeReferences(w, con, iri, DCTERMS.TYPE, "dct:type");
207 writeLiterals(w, con, iri, DCTERMS.TITLE, "dct:title");
208 writeLiterals(w, con, iri, DCTERMS.DESCRIPTION, "dct:description");
209 writeLiterals(w, con, iri, RDFS.LABEL, "rdfs:label");
210 writeLiterals(w, con, iri, SKOS.NOTATION, "skos:notation");
211 }
212
213 /**
214 * Write multiple literals

Callers 2

writeReferencesMethod · 0.95
writeDocumentsMethod · 0.95

Calls 2

writeReferencesMethod · 0.95
writeLiteralsMethod · 0.95

Tested by

no test coverage detected