Class ListStringsHandler
A Results Handler which extracts Literals from one/more variables in a Result Set.
Inherited Members
Namespace: VDS.RDF.Parsing.Handlers
Assembly: dotNetRdf.dll
Syntax
public class ListStringsHandler : BaseResultsHandler, ISparqlResultsHandler, INodeFactory
  Constructors
| Edit this page View SourceListStringsHandler(IEnumerable<string>)
Creates a new List Strings handler.
Declaration
public ListStringsHandler(IEnumerable<string> vars)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<string> | vars | Variables to build the list from.  | 
      
ListStringsHandler(string)
Creates a new List Strings handler.
Declaration
public ListStringsHandler(string var)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | var | Variable to build the list from.  | 
      
Properties
| Edit this page View SourceStrings
Gets the Strings.
Declaration
public IEnumerable<string> Strings { get; }
  Property Value
| Type | Description | 
|---|---|
| IEnumerable<string> | 
Methods
| Edit this page View SourceHandleBooleanResultInternal(bool)
Handles boolean results.
Declaration
protected override void HandleBooleanResultInternal(bool result)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | result | Result.  | 
      
Overrides
| Edit this page View SourceHandleResultInternal(ISparqlResult)
Handles results by extracting strings from relevant variables.
Declaration
protected override bool HandleResultInternal(ISparqlResult result)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ISparqlResult | result | Result.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
Overrides
| Edit this page View SourceHandleVariableInternal(string)
Handles variable declarations.
Declaration
protected override bool HandleVariableInternal(string var)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | var | Variable.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
Overrides
| Edit this page View SourceStartResultsInternal()
Starts handling results.
Declaration
protected override void StartResultsInternal()