com.hp.hpl.jena.sparql.algebra.op
Class OpLabel
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.algebra.op.OpBase
com.hp.hpl.jena.sparql.algebra.op.Op1
com.hp.hpl.jena.sparql.algebra.op.OpLabel
- All Implemented Interfaces:
- Op, Named, PrintSerializable, Printable
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 one sub ops.
Methods inherited from class com.hp.hpl.jena.sparql.algebra.op.Op1 |
getSubOp |
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 Op copy(Op subOp)
- Specified by:
copy
in class Op1
Licenced under the Apache License, Version 2.0