Alignment API and Server 4.5 (1846M)

fr.inrialpes.exmo.align.impl.renderer
Class GraphPatternRendererVisitor

java.lang.Object
  extended by fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
      extended by fr.inrialpes.exmo.align.impl.renderer.IndentedRendererVisitor
          extended by fr.inrialpes.exmo.align.impl.renderer.GraphPatternRendererVisitor
All Implemented Interfaces:
EDOALVisitor
Direct Known Subclasses:
SILKRendererVisitor, SPARQLConstructRendererVisitor, SPARQLSelectRendererVisitor

public abstract class GraphPatternRendererVisitor
extends IndentedRendererVisitor
implements EDOALVisitor

Translate correspondences into Graph Patterns


Field Summary
(package private)  Alignment alignment
           
protected static boolean blanks
           
(package private)  Cell cell
           
protected  boolean corese
           
private static int count
           
private  String datatype
           
private static int flagRestriction
           
protected  boolean ignoreerrors
           
private  boolean inClassRestriction
           
private  String instance
           
protected  List<String> listBGP
           
private  Integer nbCardinality
           
(package private)  Hashtable<String,String> nslist
           
private static int number
           
private static int numberNs
           
private static String obj
           
private  Set<String> objectsRestriction
           
private  SyntaxElement.Constructor op
           
private  String opOccurence
           
protected  Hashtable<String,String> prefixList
           
private  String strBGP
           
private  String strBGP_Weaken
           
private static String sub
           
private  Set<String> subjectsRestriction
           
private  String uriType
           
private  String value
           
private  Object valueRestriction
           
protected  boolean weakens
           
 
Fields inherited from class fr.inrialpes.exmo.align.impl.renderer.IndentedRendererVisitor
INDENT, linePrefix, NL, writer
 
Constructor Summary
GraphPatternRendererVisitor(PrintWriter writer)
           
 
Method Summary
 void createQueryFile(String dir, String query)
           
 List<String> getBGP()
           
 String getGP()
           
static String getNamespace()
           
 String getPrefixDomain(URI u)
           
 String getPrefixName(URI u)
           
 void resetVariables(String s, String o)
           
static void resetVariablesName(String s, String o)
           
 void visit(Apply e)
           
 void visit(ClassConstruction e)
           
 void visit(ClassDomainRestriction c)
           
 void visit(ClassId e)
           
 void visit(ClassOccurenceRestriction c)
           
 void visit(ClassTypeRestriction c)
           
 void visit(ClassValueRestriction c)
           
 void visit(Datatype e)
           
 void visit(InstanceId e)
           
 void visit(PropertyConstruction e)
           
 void visit(PropertyDomainRestriction c)
           
 void visit(PropertyId e)
           
 void visit(PropertyTypeRestriction c)
           
 void visit(PropertyValueRestriction c)
           
 void visit(RelationCoDomainRestriction c)
           
 void visit(RelationConstruction e)
           
 void visit(RelationDomainRestriction c)
           
 void visit(RelationId e)
           
 void visit(Transformation transf)
           
 void visit(Value e)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.renderer.IndentedRendererVisitor
decreaseIndent, increaseIndent, indentedOutput, indentedOutput, indentedOutputln, indentedOutputln, setIndentString, setNewLineString
 
Methods inherited from class fr.inrialpes.exmo.align.impl.renderer.GenericReflectiveVisitor
getMethod, subsumedInvocableMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alignment

Alignment alignment

cell

Cell cell

nslist

Hashtable<String,String> nslist

ignoreerrors

protected boolean ignoreerrors

blanks

protected static boolean blanks

weakens

protected boolean weakens

corese

protected boolean corese

inClassRestriction

private boolean inClassRestriction

instance

private String instance

value

private String value

uriType

private String uriType

datatype

private String datatype

valueRestriction

private Object valueRestriction

flagRestriction

private static int flagRestriction

op

private SyntaxElement.Constructor op

nbCardinality

private Integer nbCardinality

opOccurence

private String opOccurence

numberNs

private static int numberNs

number

private static int number

sub

private static String sub

obj

private static String obj

strBGP

private String strBGP

strBGP_Weaken

private String strBGP_Weaken

listBGP

protected List<String> listBGP

subjectsRestriction

private Set<String> subjectsRestriction

objectsRestriction

private Set<String> objectsRestriction

prefixList

protected Hashtable<String,String> prefixList

count

private static int count
Constructor Detail

GraphPatternRendererVisitor

public GraphPatternRendererVisitor(PrintWriter writer)
Method Detail

resetVariablesName

public static void resetVariablesName(String s,
                                      String o)

resetVariables

public void resetVariables(String s,
                           String o)

getGP

public String getGP()

getBGP

public List<String> getBGP()

getPrefixDomain

public String getPrefixDomain(URI u)

getPrefixName

public String getPrefixName(URI u)

getNamespace

public static String getNamespace()

createQueryFile

public void createQueryFile(String dir,
                            String query)

visit

public void visit(ClassId e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(ClassConstruction e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(ClassValueRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(ClassTypeRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(ClassDomainRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(ClassOccurenceRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(PropertyId e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(PropertyConstruction e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(PropertyValueRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(PropertyDomainRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(PropertyTypeRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(RelationId e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(RelationConstruction e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(RelationCoDomainRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(RelationDomainRestriction c)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(InstanceId e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(Value e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(Apply e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(Transformation transf)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

visit

public void visit(Datatype e)
           throws AlignmentException
Specified by:
visit in interface EDOALVisitor
Throws:
AlignmentException

Alignment API and Server 4.5 (1846M)

(C) INRIA & friends, 2003-2013