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