Class ListStringsHandler
A Results Handler which extracts Literals from one/more variables in a Result Set.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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<T><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
| Improve this Doc View SourceStrings
Gets the Strings.
Declaration
public IEnumerable<string> Strings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Methods
| Improve this Doc View SourceHandleBooleanResultInternal(bool)
Handles boolean results.
Declaration
protected override void HandleBooleanResultInternal(bool result)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | result | Result. |
Overrides
| Improve this Doc 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 |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceHandleVariableInternal(string)
Handles variable declarations.
Declaration
protected override bool HandleVariableInternal(string var)
Parameters
Type | Name | Description |
---|---|---|
string | var | Variable. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceStartResultsInternal()
Starts handling results.
Declaration
protected override void StartResultsInternal()