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.ExportFilter Interface Reference

This interface can be used if one want explicitly include or exclude nodes and/or relations while working with VisJsVisualizer. More...

Public Member Functions

boolean includeNode (SNode node)
 Returns a boolean to indicate, whether the specified node must be included or not. More...
 
boolean includeRelation (SRelation relation)
 Returns a boolean to indicate, whether the specified relation must be included or not. More...
 

Detailed Description

This interface can be used if one want explicitly include or exclude nodes and/or relations while working with VisJsVisualizer.

If the method excludeNode(SNode) returns true, then the passed node will be part of the visualization. Otherwise it will be omitted. The method excludeRelation(SRelation) has a similar meaning. If it returns true, then the passed relation will also be included in the visualization.

Author
irina

Member Function Documentation

◆ includeNode()

boolean org.corpus_tools.salt.util.ExportFilter.includeNode ( SNode  node)

Returns a boolean to indicate, whether the specified node must be included or not.

Parameters
nodespecified SNode

◆ includeRelation()

boolean org.corpus_tools.salt.util.ExportFilter.includeRelation ( SRelation  relation)

Returns a boolean to indicate, whether the specified relation must be included or not.

Parameters
relationspecified SRelation