Interface IPatternItemFactory
Assembly: dotNetRDF.dll
Syntax
public interface IPatternItemFactory
Methods
|
Improve this Doc
View Source
CreateBlankNodeMatchPattern(String)
Create a pattern item that matches a specific blank node.
Declaration
PatternItem CreateBlankNodeMatchPattern(string blankNodeIdentifier)
Parameters
Type |
Name |
Description |
System.String |
blankNodeIdentifier |
The blank node identifier to match. |
Returns
|
Improve this Doc
View Source
CreateLiteralNodeMatchPattern(Object)
Create a pattern item that matches a literal value.
Declaration
PatternItem CreateLiteralNodeMatchPattern(object literal)
Parameters
Type |
Name |
Description |
System.Object |
literal |
The value to match as a literal. |
Returns
|
Improve this Doc
View Source
CreateLiteralNodeMatchPattern(Object, String)
Create a pattern item that matches a literal value with an associated language tag.
Declaration
PatternItem CreateLiteralNodeMatchPattern(object literal, string langSpec)
Parameters
Type |
Name |
Description |
System.Object |
literal |
The literal value to match. |
System.String |
langSpec |
The language tag to match. |
Returns
|
Improve this Doc
View Source
CreateLiteralNodeMatchPattern(Object, Uri)
Create a pattern item that matches a literal value with its associated datatype.
Declaration
PatternItem CreateLiteralNodeMatchPattern(object literal, Uri datatype)
Parameters
Type |
Name |
Description |
System.Object |
literal |
The literal value to match. |
System.Uri |
datatype |
The literal datatype URI to match. |
Returns
|
Improve this Doc
View Source
CreateNodeMatchPattern(String, INamespaceMapper)
Create a URI node pattern.
Declaration
PatternItem CreateNodeMatchPattern(string qName, INamespaceMapper namespaceMapper)
Parameters
Type |
Name |
Description |
System.String |
qName |
The CURIE representation of the URI. |
INamespaceMapper |
namespaceMapper |
The mapper to use when resolving the prefix part of the CURIE. |
Returns
|
Improve this Doc
View Source
CreateNodeMatchPattern(Uri)
Create a URI node pattern.
Declaration
PatternItem CreateNodeMatchPattern(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
The URI for the pattern item. |
Returns
|
Improve this Doc
View Source
CreateNodeMatchPattern(INode)
Create a pattern item that matches the specified node.
Declaration
PatternItem CreateNodeMatchPattern(INode node)
Parameters
Type |
Name |
Description |
INode |
node |
The node to match. |
Returns
|
Improve this Doc
View Source
CreatePatternItem(Type, String, INamespaceMapper)
Create a pattern item that matches a node of a specific type.
Declaration
PatternItem CreatePatternItem(Type nodeType, string patternString, INamespaceMapper namespaceMapper)
Parameters
Type |
Name |
Description |
System.Type |
nodeType |
The type of node to match. Must be one of IBlankNode, ILiteralNode, IUriNode or IVariableNode. |
System.String |
patternString |
The string value of the pattern item. |
INamespaceMapper |
namespaceMapper |
The namespace mapper to use when resolving any prefixes in patternString . |
Returns
|
Improve this Doc
View Source
CreateVariablePattern(String)
Create a variable pattern item.
Declaration
PatternItem CreateVariablePattern(string variableName)
Parameters
Type |
Name |
Description |
System.String |
variableName |
The name of the variable. |
Returns
Extension Methods