Class FacetPathOps

java.lang.Object
org.aksw.jenax.path.core.FacetPathOps
All Implemented Interfaces:
org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>

public class FacetPathOps extends Object implements org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
  • Field Details

  • Constructor Details

    • FacetPathOps

      public FacetPathOps()
  • Method Details

    • get

      public static FacetPathOps get()
    • upcast

      public FacetPath upcast(org.aksw.commons.path.core.Path<FacetStep> path)
      Specified by:
      upcast in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • getBasePathSegments

      public List<FacetStep> getBasePathSegments()
      Specified by:
      getBasePathSegments in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • getComparator

      public Comparator<FacetStep> getComparator()
      Specified by:
      getComparator in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • newPath

      public FacetPath newPath(boolean isAbsolute, List<FacetStep> segments)
      Specified by:
      newPath in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • getSelfToken

      public FacetStep getSelfToken()
      Specified by:
      getSelfToken in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • getParentToken

      public FacetStep getParentToken()
      Specified by:
      getParentToken in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • toStringRaw

      public String toStringRaw(Object path)
      Specified by:
      toStringRaw in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • toNodes

      public static List<org.apache.jena.graph.Node> toNodes(FacetStep step)
      Convert an aliased step to a sequence of nodes. The nodes are used for serialization.
    • toString

      public String toString(FacetPath path)
      Specified by:
      toString in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>
    • fromString

      public FacetPath fromString(String str)
      Serialization is an optional leading '/' for the root, following by a sequence of RDF terms: path := '/'? (predicateIRI isForward? alias?)* isFoward := boolean # true | false alias := String isForward defaults to true if omitted.
      Specified by:
      fromString in interface org.aksw.commons.path.core.PathOps<FacetStep,FacetPath>