com.hp.hpl.jena.sparql.syntax
Class ElementOptional

java.lang.Object
  extended by com.hp.hpl.jena.sparql.syntax.Element
      extended by com.hp.hpl.jena.sparql.syntax.ElementOptional

public class ElementOptional
extends Element

An optional element in a query.


Constructor Summary
ElementOptional(Element optionalPart)
           
 
Method Summary
 boolean equalTo(Element el2, NodeIsomorphismMap isoMap)
           
 Element getOptionalElement()
           
 int hashCode()
           
 void visit(ElementVisitor v)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.syntax.Element
equals, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementOptional

public ElementOptional(Element optionalPart)
Method Detail

getOptionalElement

public Element getOptionalElement()

hashCode

public int hashCode()
Specified by:
hashCode in class Element

equalTo

public boolean equalTo(Element el2,
                       NodeIsomorphismMap isoMap)
Specified by:
equalTo in class Element

visit

public void visit(ElementVisitor v)
Specified by:
visit in class Element


Licenced under the Apache License, Version 2.0