Class QueryPatternNormalizer
- java.lang.Object
 - 
- fr.mines_stetienne.ci.sparql_generate.normalizer.xexpr.QueryPatternNormalizer
 
 
- 
- All Implemented Interfaces:
 ElementVisitor
public class QueryPatternNormalizer extends Object implements ElementVisitor
Class used to visit an element and normalize it (i.e., replace all expression nodes with the associated expression) . It appends the bindings before the element.- Author:
 - Maxime Lefrançois
 
 
- 
- 
Constructor Summary
Constructors Constructor Description QueryPatternNormalizer() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementgetResult()The latest result of an element normalization.voidvisit(ElementAssign el)voidvisit(ElementBind el)voidvisit(ElementData el)voidvisit(ElementDataset el)voidvisit(ElementExists el)voidvisit(ElementFilter el)voidvisit(ElementGroup el)voidvisit(ElementLateral el)voidvisit(ElementMinus el)voidvisit(ElementNamedGraph el)voidvisit(ElementNotExists el)voidvisit(ElementOptional el)voidvisit(ElementPathBlock el)voidvisit(ElementService el)voidvisit(ElementSubQuery el)voidvisit(ElementTriplesBlock el)voidvisit(ElementUnion el) 
 - 
 
- 
- 
Method Detail
- 
getResult
public Element getResult()
The latest result of an element normalization. 
- 
visit
public void visit(ElementGroup el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementTriplesBlock el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementPathBlock el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementFilter el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementAssign el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementBind el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementData el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementUnion el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementOptional el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementLateral el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementDataset el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementNamedGraph el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementExists el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementNotExists el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementMinus el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementService el)
- Specified by:
 visitin interfaceElementVisitor
 
- 
visit
public void visit(ElementSubQuery el)
- Specified by:
 visitin interfaceElementVisitor
 
 - 
 
 -