1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.rdf.api;
19
20
21
22
23
24
25
26
27
28 @Deprecated
29 public interface RDFTermFactory {
30
31 default BlankNode createBlankNode() throws UnsupportedOperationException {
32 throw new UnsupportedOperationException("createBlankNode() not supported");
33 }
34
35 default BlankNode createBlankNode(final String name) throws UnsupportedOperationException {
36 throw new UnsupportedOperationException("createBlankNode(String) not supported");
37 }
38
39 default Graph createGraph() throws UnsupportedOperationException {
40 throw new UnsupportedOperationException("createGraph() not supported");
41 }
42
43 default IRI createIRI(final String iri) throws IllegalArgumentException, UnsupportedOperationException {
44 throw new UnsupportedOperationException("createIRI(String) not supported");
45 }
46
47 default Literal createLiteral(final String lexicalForm) throws IllegalArgumentException, UnsupportedOperationException {
48 throw new UnsupportedOperationException("createLiteral(String) not supported");
49 }
50
51 default Literal createLiteral(final String lexicalForm, final IRI dataType)
52 throws IllegalArgumentException, UnsupportedOperationException {
53 throw new UnsupportedOperationException("createLiteral(String) not supported");
54 }
55
56 default Literal createLiteral(final String lexicalForm, final String languageTag)
57 throws IllegalArgumentException, UnsupportedOperationException {
58 throw new UnsupportedOperationException("createLiteral(String,String) not supported");
59 }
60
61 default Triple createTriple(final BlankNodeOrIRI subject, final IRI predicate, final RDFTerm object)
62 throws IllegalArgumentException, UnsupportedOperationException {
63 throw new UnsupportedOperationException("createTriple(BlankNodeOrIRI,IRI,RDFTerm) not supported");
64 }
65
66 }