org.semanticweb.HermiT.datatypes.rdfplainliteral
Class RDFPlainLiteralDatatypeHandler
java.lang.Object
org.semanticweb.HermiT.datatypes.rdfplainliteral.RDFPlainLiteralDatatypeHandler
- All Implemented Interfaces:
- DatatypeHandler
public class RDFPlainLiteralDatatypeHandler
- extends Object
- implements DatatypeHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSD_NS
protected static final String XSD_NS
RDF_NS
protected static final String RDF_NS
s_subsetsByDatatype
protected static final Map<String,ValueSpaceSubset> s_subsetsByDatatype
EMPTY_SUBSET
protected static final ValueSpaceSubset EMPTY_SUBSET
s_datatypeSupersets
protected static final Map<String,Set<String>> s_datatypeSupersets
RDFPlainLiteralDatatypeHandler
public RDFPlainLiteralDatatypeHandler()
registerPatternDatatype
protected static void registerPatternDatatype(String datatypeURI)
getManagedDatatypeURIs
public Set<String> getManagedDatatypeURIs()
- Specified by:
getManagedDatatypeURIs
in interface DatatypeHandler
parseLiteral
public Object parseLiteral(String lexicalForm,
String datatypeURI)
throws MalformedLiteralException
- Specified by:
parseLiteral
in interface DatatypeHandler
- Throws:
MalformedLiteralException
validateDatatypeRestriction
public void validateDatatypeRestriction(DatatypeRestriction datatypeRestriction)
throws UnsupportedFacetException
- Specified by:
validateDatatypeRestriction
in interface DatatypeHandler
- Throws:
UnsupportedFacetException
createValueSpaceSubset
public ValueSpaceSubset createValueSpaceSubset(DatatypeRestriction datatypeRestriction)
- Specified by:
createValueSpaceSubset
in interface DatatypeHandler
conjoinWithDR
public ValueSpaceSubset conjoinWithDR(ValueSpaceSubset valueSpaceSubset,
DatatypeRestriction datatypeRestriction)
- Specified by:
conjoinWithDR
in interface DatatypeHandler
conjoinWithDRNegation
public ValueSpaceSubset conjoinWithDRNegation(ValueSpaceSubset valueSpaceSubset,
DatatypeRestriction datatypeRestriction)
- Specified by:
conjoinWithDRNegation
in interface DatatypeHandler
needsAutomatons
protected boolean needsAutomatons(DatatypeRestriction datatypeRestriction)
getIntervalsFor
protected RDFPlainLiteralLengthInterval[] getIntervalsFor(DatatypeRestriction datatypeRestriction)
getAutomatonFor
protected dk.brics.automaton.Automaton getAutomatonFor(ValueSpaceSubset valueSpaceSubset)
getAutomatonFor
protected dk.brics.automaton.Automaton getAutomatonFor(DatatypeRestriction datatypeRestriction)
isSubsetOf
public boolean isSubsetOf(String subsetDatatypeURI,
String supersetDatatypeURI)
- Specified by:
isSubsetOf
in interface DatatypeHandler
isDisjointWith
public boolean isDisjointWith(String datatypeURI1,
String datatypeURI2)
- Specified by:
isDisjointWith
in interface DatatypeHandler
Copyright © 2012. All Rights Reserved.