public class OntopNativeMappingParser extends Object implements SQLMappingParser
| Modifier and Type | Class and Description |
|---|---|
static class |
OntopNativeMappingParser.Label |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_DECLARATION_TAG |
protected static String |
COMMENT_SYMBOL |
protected static String |
DATA_PROPERTY_DECLARATION_TAG |
static String |
END_COLLECTION_SYMBOL |
static String |
MAPPING_DECLARATION_TAG |
protected static String |
OBJECT_PROPERTY_DECLARATION_TAG |
static String |
PREFIX_DECLARATION_TAG |
protected static String |
SOURCE_DECLARATION_TAG |
static String |
START_COLLECTION_SYMBOL |
| Modifier and Type | Method and Description |
|---|---|
SQLPPMapping |
parse(File file)
Parsing is not done at construction time because our dependency
injection framework (Guice) does not manage exceptions nicely.
|
SQLPPMapping |
parse(org.apache.commons.rdf.api.Graph mappingGraph) |
SQLPPMapping |
parse(Reader reader) |
public static final String PREFIX_DECLARATION_TAG
protected static final String CLASS_DECLARATION_TAG
protected static final String OBJECT_PROPERTY_DECLARATION_TAG
protected static final String DATA_PROPERTY_DECLARATION_TAG
protected static final String SOURCE_DECLARATION_TAG
public static final String MAPPING_DECLARATION_TAG
public static final String START_COLLECTION_SYMBOL
public static final String END_COLLECTION_SYMBOL
protected static final String COMMENT_SYMBOL
public SQLPPMapping parse(File file) throws it.unibz.inf.ontop.exception.InvalidMappingException, it.unibz.inf.ontop.exception.MappingIOException
parse in interface MappingParserparse in interface SQLMappingParserit.unibz.inf.ontop.exception.InvalidMappingExceptionit.unibz.inf.ontop.exception.MappingIOExceptionpublic SQLPPMapping parse(Reader reader) throws it.unibz.inf.ontop.exception.InvalidMappingException, it.unibz.inf.ontop.exception.MappingIOException
parse in interface MappingParserparse in interface SQLMappingParserit.unibz.inf.ontop.exception.InvalidMappingExceptionit.unibz.inf.ontop.exception.MappingIOExceptionpublic SQLPPMapping parse(org.apache.commons.rdf.api.Graph mappingGraph)
parse in interface MappingParserparse in interface SQLMappingParserCopyright © 2009–2020 Free University of Bozen-Bolzano. All rights reserved.