|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fuberlin.wiwiss.d2rq.parser.MapParser
public class MapParser
Creates a Mapping
from a Jena model representation
of a D2RQ mapping file.
Field Summary | |
---|---|
static String |
URI_CHAR_REGEX
A regular expression that matches zero or more characters that are allowed inside URIs |
Constructor Summary | |
---|---|
MapParser(com.hp.hpl.jena.rdf.model.Model mapModel,
String baseURI)
Constructs a new MapParser from a Jena model containing the RDF statements from a D2RQ mapping file. |
Method Summary | |
---|---|
static String |
absolutizeURI(String uri)
Turns a relative URI into an absolute one, by using the current directory's file: URI as a base. |
Mapping |
parse()
Starts the parsing process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String URI_CHAR_REGEX
Constructor Detail |
---|
public MapParser(com.hp.hpl.jena.rdf.model.Model mapModel, String baseURI)
mapModel
- a Jena model containing the RDF statements from a D2RQ mapping fileMethod Detail |
---|
public static String absolutizeURI(String uri)
uri
- Any URI
public Mapping parse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |