Package org.aksw.jenax.sparql.path
Class SimplePath
java.lang.Object
org.aksw.jenax.sparql.path.SimplePath
- All Implemented Interfaces:
Comparable<SimplePath>
Deprecated.
Use PathPP from the datapath module - it has all the java.nio.Path methods
The static method s though need porting
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.SimplePath(List<org.apache.jena.sparql.path.P_Path0> steps) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.booleanDeprecated.static SimplePathfromPropertyPath(org.apache.jena.sparql.path.Path path) Deprecated.List<org.apache.jena.sparql.path.P_Path0>getSteps()Deprecated.inthashCode()Deprecated.booleanisEmpty()Deprecated.org.apache.jena.sparql.path.P_Path0lastStep()Deprecated.static Set<org.apache.jena.graph.Node>Deprecated.Deprecated.static List<org.apache.jena.sparql.syntax.Element>pathToElements(SimplePath path, org.apache.jena.sparql.core.Var start, org.apache.jena.sparql.core.Var end, org.aksw.commons.collections.generator.Generator generator) Deprecated.static List<org.apache.jena.graph.Triple>pathToTriples(SimplePath path, org.apache.jena.sparql.core.Var start, org.apache.jena.sparql.core.Var end, org.aksw.commons.collections.generator.Generator<org.apache.jena.sparql.core.Var> generator) Deprecated.static Map.Entry<SimplePath,org.apache.jena.sparql.path.P_Path0> seperateLastStep(SimplePath path) Deprecated.Returns an entry with the last step separated from the rest of the steps Useful for compatibility with jgrapht's path validator which uses the same model.Deprecated.static org.apache.jena.sparql.path.PathtoPropertyPath(List<org.apache.jena.sparql.path.P_Path0> steps) Deprecated.static org.apache.jena.sparql.path.PathtoPropertyPath(SimplePath path) Deprecated.toString()Deprecated.
-
Constructor Details
-
SimplePath
public SimplePath()Deprecated. -
SimplePath
Deprecated.
-
-
Method Details
-
getSteps
Deprecated. -
seperateLastStep
public static Map.Entry<SimplePath,org.apache.jena.sparql.path.P_Path0> seperateLastStep(SimplePath path) Deprecated.Returns an entry with the last step separated from the rest of the steps Useful for compatibility with jgrapht's path validator which uses the same model. In case of empty path, the result is (empty path, null)- Parameters:
path-- Returns:
-
fromPropertyPath
Deprecated. -
toPropertyPath
Deprecated. -
toPropertyPath
public static org.apache.jena.sparql.path.Path toPropertyPath(List<org.apache.jena.sparql.path.P_Path0> steps) Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
toString
Deprecated. -
isEmpty
public boolean isEmpty()Deprecated. -
lastStep
public org.apache.jena.sparql.path.P_Path0 lastStep()Deprecated. -
parentPath
Deprecated. -
pathToElements
public static List<org.apache.jena.sparql.syntax.Element> pathToElements(SimplePath path, org.apache.jena.sparql.core.Var start, org.apache.jena.sparql.core.Var end, org.aksw.commons.collections.generator.Generator generator) Deprecated. -
pathToTriples
public static List<org.apache.jena.graph.Triple> pathToTriples(SimplePath path, org.apache.jena.sparql.core.Var start, org.apache.jena.sparql.core.Var end, org.aksw.commons.collections.generator.Generator<org.apache.jena.sparql.core.Var> generator) Deprecated. -
toPathString
Deprecated. -
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<SimplePath>
-
mentionedNodes
Deprecated.
-