Class NodeMatchPattern
Pattern which matches specific Nodes.
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.Patterns
Assembly: dotNetRDF.dll
Syntax
public class NodeMatchPattern : PatternItem
Constructors
| Improve this Doc View SourceNodeMatchPattern(INode)
Creates a new Node Match Pattern.
Declaration
public NodeMatchPattern(INode n)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Exact Node to match. |
NodeMatchPattern(INode, Boolean)
Creates a new Node Match Pattern.
Declaration
public NodeMatchPattern(INode n, bool rigorousEvaluation)
Parameters
Type | Name | Description |
---|---|---|
INode | n | Exact Node to match. |
System.Boolean | rigorousEvaluation | Whether to force rigorous evaluation regardless of the global setting. |
Properties
| Improve this Doc View SourceNode
Gets the Node that this Pattern matches.
Declaration
public INode Node { get; }
Property Value
Type | Description |
---|---|
INode |
Methods
| Improve this Doc View SourceAccepts(SparqlEvaluationContext, INode)
Checks whether the given Node matches the Node this pattern was instantiated with.
Declaration
protected override bool Accepts(SparqlEvaluationContext context, INode obj)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
INode | obj | Node to test. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceConstruct(ConstructContext)
Constructs a Node based on the given Set.
Declaration
protected override INode Construct(ConstructContext context)
Parameters
Type | Name | Description |
---|---|---|
ConstructContext | context | Construct Context. |
Returns
Type | Description |
---|---|
INode |
Overrides
| Improve this Doc View SourceToString()
Gets a String representation of the Node.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |