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

public abstract class ManchesterClassInterface extends Object
  • Constructor Details

  • Method Details

    • getType

    • printRes

      protected String printRes(boolean getPrefixName, Map<String,String> namespaceToPrefixsMap, org.eclipse.rdf4j.model.IRI res)
    • printLiteral

      protected String printLiteral(boolean getPrefixName, Map<String,String> namespaceToPrefixsMap, org.eclipse.rdf4j.model.Literal literal)
    • 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 parameter getPrefixName controls whether URIs are shortened into qualified names or presented in their full form. The qualified names use prefixes defined in the parameter prefixMapping.
      Parameters:
      namespaceToPrefixsMap - the prefix map class to use then getPrefixName is true
      getPrefixName - to use the qname, if the appropriate prefix has been defined
      useUppercaseSyntax - to return the the reserved keyword in upper (true) or lower case (false)
      Returns:
    • getManchExpr

      public String getManchExpr(boolean useUppercaseSyntax)
      A shortcut for getManchExpr(Map, boolean, boolean) with the first parameter set to null
      Parameters:
      useUppercaseSyntax - to return the the reserved keyword in upper (true) or lower case (false)
      Returns:
    • print

      public abstract String print(String tab)