Skip to content

Commit 0c2cd10

Browse files
ADD Conversion API
1 parent aadf0d1 commit 0c2cd10

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package net.bald.model
2+
3+
import net.bald.BinaryArray
4+
import org.apache.jena.rdf.model.Model
5+
import org.apache.jena.rdf.model.ModelFactory
6+
7+
/**
8+
* API for converting a [BinaryArray] to a linked data [Model].
9+
*/
10+
object ModelBinaryArrayConverter {
11+
/**
12+
* Convert the given binary array metadata into a linked data model.
13+
* @param ba The binary array to convert.
14+
* @return The resulting model.
15+
*/
16+
fun convert(ba: BinaryArray): Model {
17+
TODO()
18+
}
19+
}

0 commit comments

Comments
 (0)