Class SubstringBeforeFunction
Represents the XPath fn:substring-before() function.
Implements
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)
Namespace: VDS.RDF.Query.Expressions.Functions.XPath.String
Assembly: dotNetRDF.dll
Syntax
public class SubstringBeforeFunction : BaseBinaryStringFunction, ISparqlExpression
Constructors
| Improve this Doc View SourceSubstringBeforeFunction(ISparqlExpression, ISparqlExpression)
Creates a new XPath Substring Before function.
Declaration
public SubstringBeforeFunction(ISparqlExpression stringExpr, ISparqlExpression findExpr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | stringExpr | Expression. |
ISparqlExpression | findExpr | Search Expression. |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the function.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceTransform(IExpressionTransformer)
Transforms the Expression using the given Transformer.
Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
Type | Name | Description |
---|---|---|
IExpressionTransformer | transformer | Expression Transformer. |
Returns
Type | Description |
---|---|
ISparqlExpression |
Overrides
| Improve this Doc View SourceValueInternal(ILiteralNode, ILiteralNode)
Gets the Value of the function as applied to the given String Literal and Argument.
Declaration
public override IValuedNode ValueInternal(ILiteralNode stringLit, ILiteralNode arg)
Parameters
Type | Name | Description |
---|---|---|
ILiteralNode | stringLit | Simple/String typed Literal. |
ILiteralNode | arg | Argument. |
Returns
Type | Description |
---|---|
IValuedNode |