Salt  3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
org.corpus_tools.salt.util.internal.persistence.dot.SCorpusGraphDOTWriter Class Reference

This class writes the corpus structure in dot format to file. More...

Inherits org.corpus_tools.salt.core.GraphTraverseHandler.

Public Member Functions

void setOutputURI (URI outputURI)
 
URI getOutputURI ()
 
void setSCorpusGraph (SCorpusGraph sCorpusGraph)
 
SCorpusGraph getSCorpusGraph ()
 
void save ()
 
boolean checkConstraint (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SRelation edge, SNode currNode, long order)
 
void nodeLeft (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SNode currNode, SRelation edge, SNode fromNode, long order)
 
void nodeReached (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SNode currSNode, SRelation relation, SNode fromSNode, long order)
 
- Public Member Functions inherited from org.corpus_tools.salt.core.GraphTraverseHandler
void nodeReached (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SNode currNode, SRelation< SNode, SNode > relation, SNode fromNode, long order)
 This method will be invoked, when a node is reached, after the method checkConstraint(GRAPH_TRAVERSE_TYPE, String, SRelation, SNode, long) has returned true and before the method nodeLeft(GRAPH_TRAVERSE_TYPE, String, SNode, SRelation, SNode, long) is invoked. More...
 
void nodeLeft (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SNode currNode, SRelation< SNode, SNode > relation, SNode fromNode, long order)
 This method will be invoked, when a node is left, after the method checkConstraint(GRAPH_TRAVERSE_TYPE, String, SRelation, SNode, long) has returned true and the method nodeReached(GRAPH_TRAVERSE_TYPE, String, SNode, SRelation, SNode, long) has been invoked. More...
 
boolean checkConstraint (GRAPH_TRAVERSE_TYPE traversalType, String traversalId, SRelation< SNode, SNode > relation, SNode currNode, long order)
 This method is called during a traversal to check if the current node and eventually its sub-graph shall be traversed or not. More...
 

Detailed Description

This class writes the corpus structure in dot format to file.

Author
Florian Zipser