public class ConfigBuilder extends Object
Constructor and Description |
---|
ConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
static String |
createRuleXML(SilkRule rule,
List<RDFprefix> prefixes) |
static SilkRule |
parseRule(InputStream input)
Parses given link configuration file.
|
public static SilkRule parseRule(InputStream input) throws TransformerException, ParserConfigurationException, SAXException, IOException
inputFile
- input stream to parseTransformerException
ParserConfigurationException
SAXException
IOException
public static String createRuleXML(SilkRule rule, List<RDFprefix> prefixes) throws ParserConfigurationException, DOMException, InvalidLinkageRuleException, SAXException, IOException, TransformerException
rule
- object representation of a linkage ruleprefixes
- list of all prefixes, must include ones used in the ruleParserConfigurationException
DOMException
InvalidLinkageRuleException
SAXException
IOException
TransformerException
Copyright © 2013. All Rights Reserved.