Class PathNormalizer
- java.lang.Object
 - 
- fr.mines_stetienne.ci.sparql_generate.normalizer.xexpr.PathNormalizer
 
 
- 
- All Implemented Interfaces:
 PathVisitor
public class PathNormalizer extends Object implements PathVisitor
Class used to normalize path expressions.- Author:
 - Maxime Lefrançois
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PathNormalizer(NodeExprNormalizer nzer)Constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathgetResult()voidvisit(P_Alt pathAlt)voidvisit(P_Distinct pathDistinct)voidvisit(P_FixedLength pFixedLength)voidvisit(P_Inverse inversePath)voidvisit(P_Link pathNode)voidvisit(P_Mod pathMod)voidvisit(P_Multi pathMulti)voidvisit(P_NegPropSet pathNotOneOf)voidvisit(P_OneOrMore1 path)voidvisit(P_OneOrMoreN path)voidvisit(P_ReverseLink pathNode)voidvisit(P_Seq pathSeq)voidvisit(P_Shortest pathShortest)voidvisit(P_ZeroOrMore1 path)voidvisit(P_ZeroOrMoreN path)voidvisit(P_ZeroOrOne path) 
 - 
 
- 
- 
Constructor Detail
- 
PathNormalizer
public PathNormalizer(NodeExprNormalizer nzer)
Constructor- Parameters:
 nzer-
 
 - 
 
- 
Method Detail
- 
getResult
public Path getResult()
- Returns:
 - latest normalized path
 
 
- 
visit
public void visit(P_Link pathNode)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_ReverseLink pathNode)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_NegPropSet pathNotOneOf)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Inverse inversePath)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Mod pathMod)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_FixedLength pFixedLength)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Distinct pathDistinct)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Multi pathMulti)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Shortest pathShortest)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_ZeroOrOne path)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_ZeroOrMore1 path)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_ZeroOrMoreN path)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_OneOrMore1 path)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_OneOrMoreN path)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Alt pathAlt)
- Specified by:
 visitin interfacePathVisitor
 
- 
visit
public void visit(P_Seq pathSeq)
- Specified by:
 visitin interfacePathVisitor
 
 - 
 
 -