Package org.aksw.jenax.path.core
Class PathOpsNode
java.lang.Object
org.aksw.jenax.path.core.PathOpsNode
- All Implemented Interfaces:
Serializable,org.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
public class PathOpsNode
extends Object
implements org.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>, Serializable
Implementation of
PathOps which allows for using the path machinery
with jena Nodes.- Author:
- raven
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String str) static PathOpsNodeget()List<org.apache.jena.graph.Node>Comparator<org.apache.jena.graph.Node>org.apache.jena.graph.Nodeorg.apache.jena.graph.Nodestatic PathNodetoStringRaw(Object path) upcast(org.aksw.commons.path.core.Path<org.apache.jena.graph.Node> path) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.path.core.PathOps
create, newAbsolutePath, newAbsolutePath, newAbsolutePath, newRelativePath, newRelativePath, newRelativePath
-
Field Details
-
PARENT
public static final org.apache.jena.graph.Node PARENT -
SELF
public static final org.apache.jena.graph.Node SELF
-
-
Constructor Details
-
PathOpsNode
public PathOpsNode()
-
-
Method Details
-
get
-
newRelativePath
-
upcast
- Specified by:
upcastin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
getBasePathSegments
- Specified by:
getBasePathSegmentsin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
getComparator
- Specified by:
getComparatorin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
newPath
- Specified by:
newPathin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
getSelfToken
public org.apache.jena.graph.Node getSelfToken()- Specified by:
getSelfTokenin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
getParentToken
public org.apache.jena.graph.Node getParentToken()- Specified by:
getParentTokenin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
toStringRaw
- Specified by:
toStringRawin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
toString
- Specified by:
toStringin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-
fromString
- Specified by:
fromStringin interfaceorg.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode>
-