Class ManchesterClassInterface
java.lang.Object
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.structures.ManchesterClassInterface
- Direct Known Subclasses:
ManchesterAndClass
,ManchesterBaseClass
,ManchesterCardClass
,ManchesterDataConjunction
,ManchesterDataRange
,ManchesterDatatypeRestriction
,ManchesterLiteralListClass
,ManchesterNotClass
,ManchesterOneOfClass
,ManchesterOnlyClass
,ManchesterOrClass
,ManchesterSelfClass
,ManchesterSomeClass
,ManchesterValueClass
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetManchExpr
(boolean useUppercaseSyntax) A shortcut forgetManchExpr(Map, boolean, boolean)
with the first parameter set tonull
abstract String
getManchExpr
(Map<String, String> namespaceToPrefixsMap, boolean getPrefixName, boolean useUppercaseSyntax) Returns the representation of this class expression conforming to the Manchester syntax.getType()
abstract String
protected String
printLiteral
(boolean getPrefixName, Map<String, String> namespaceToPrefixsMap, org.eclipse.rdf4j.model.Literal literal) protected String
printRes
(boolean getPrefixName, Map<String, String> namespaceToPrefixsMap, org.eclipse.rdf4j.model.IRI res)
-
Constructor Details
-
ManchesterClassInterface
-
-
Method Details
-
getType
-
printRes
-
printLiteral
-
getManchExpr
public abstract String getManchExpr(Map<String, String> namespaceToPrefixsMap, boolean getPrefixName, boolean useUppercaseSyntax) Returns the representation of this class expression conforming to the Manchester syntax. The parametergetPrefixName
controls whether URIs are shortened into qualified names or presented in their full form. The qualified names use prefixes defined in the parameterprefixMapping
.- Parameters:
namespaceToPrefixsMap
- the prefix map class to use then getPrefixName is truegetPrefixName
- to use the qname, if the appropriate prefix has been defineduseUppercaseSyntax
- to return the the reserved keyword in upper (true) or lower case (false)- Returns:
-
getManchExpr
A shortcut forgetManchExpr(Map, boolean, boolean)
with the first parameter set tonull
- Parameters:
useUppercaseSyntax
- to return the the reserved keyword in upper (true) or lower case (false)- Returns:
-
print
-