Class PathNode

java.lang.Object
org.aksw.commons.path.core.PathBase<org.apache.jena.graph.Node,PathNode>
org.aksw.jenax.path.core.PathNode
All Implemented Interfaces:
Serializable, Comparable<org.aksw.commons.path.core.Path<org.apache.jena.graph.Node>>, Iterable<org.aksw.commons.path.core.Path<org.apache.jena.graph.Node>>, org.aksw.commons.path.core.Path<org.apache.jena.graph.Node>

public class PathNode extends org.aksw.commons.path.core.PathBase<org.apache.jena.graph.Node,PathNode>
Dedicated path implementation compatible with Path<Node>.
Author:
raven
See Also:
  • Field Summary

    Fields inherited from class org.aksw.commons.path.core.PathBase

    isAbsolute, pathOps, segments, segmentsView
  • Constructor Summary

    Constructors
    Constructor
    Description
    PathNode(org.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode> pathOps, boolean isAbsolute, List<org.apache.jena.graph.Node> segments)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static PathNode
    newAbsolutePath(List<org.apache.jena.graph.Node> segments)
     
    static PathNode
    newAbsolutePath(org.apache.jena.graph.Node segment)
     
    static PathNode
    newAbsolutePath(org.apache.jena.graph.Node... segments)
     
    static PathNode
    newRelativePath(List<org.apache.jena.graph.Node> segments)
     
    static PathNode
    newRelativePath(org.apache.jena.graph.Node segment)
     
    static PathNode
    newRelativePath(org.apache.jena.graph.Node... segments)
     
    static PathNode
     
    resolve(org.apache.jena.rdf.model.Resource other)
    Convenience method for Resource

    Methods inherited from class org.aksw.commons.path.core.PathBase

    compareLists, compareTo, endsWith, equals, getFileName, getName, getNameCount, getParent, getPathOps, getRoot, getSegments, getSystem, hashCode, isAbsolute, isParentToken, iterator, newPath, normalize, relativize, relativize, resolve, resolve, resolveSibling, resolveSibling, resolveSiblingStr, resolveStr, startsWith, subpath, subpath, toAbsolutePath, toList, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.aksw.commons.path.core.Path

    toSegment
  • Constructor Details

    • PathNode

      public PathNode(org.aksw.commons.path.core.PathOps<org.apache.jena.graph.Node,PathNode> pathOps, boolean isAbsolute, List<org.apache.jena.graph.Node> segments)
  • Method Details

    • resolve

      public PathNode resolve(org.apache.jena.rdf.model.Resource other)
      Convenience method for Resource
    • parse

      public static PathNode parse(String str)
    • newAbsolutePath

      public static PathNode newAbsolutePath(org.apache.jena.graph.Node segment)
    • newAbsolutePath

      public static PathNode newAbsolutePath(org.apache.jena.graph.Node... segments)
    • newAbsolutePath

      public static PathNode newAbsolutePath(List<org.apache.jena.graph.Node> segments)
    • newRelativePath

      public static PathNode newRelativePath(org.apache.jena.graph.Node segment)
    • newRelativePath

      public static PathNode newRelativePath(org.apache.jena.graph.Node... segments)
    • newRelativePath

      public static PathNode newRelativePath(List<org.apache.jena.graph.Node> segments)