All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, Op, Named, PrintSerializable

public class OpLabel extends Op1
Do-nothing class that means that tags/labels/comments can be left in the algebra tree. If serialized, toString called on the object, reparsing yields a string. Can have zero one sub ops.
  • Method Details

    • create

      public static Op create(Object label, Op op)
    • equalTo

      public boolean equalTo(Op other, NodeIsomorphismMap labelMap)
      Specified by:
      equalTo in interface Op
      Specified by:
      equalTo in class OpBase
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class OpBase
    • visit

      public void visit(OpVisitor opVisitor)
    • getObject

      public Object getObject()
    • hasSubOp

      public boolean hasSubOp()
    • getName

      public String getName()
    • apply

      public Op apply(Transform transform, Op subOp)
      Specified by:
      apply in class Op1
    • copy

      public Op1 copy(Op subOp)
      Specified by:
      copy in class Op1