Click or drag to resize

ParserHelperTryResolveUri Method (IParserContext, IToken, Boolean, FuncString, String)

Attempts to resolve a QName or URI Token into a URI Node and produces appropriate error messages if this fails.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static INode TryResolveUri(
	IParserContext context,
	IToken t,
	bool allowDefaultPrefixFallback,
	Func<string, string> qnameUnescape
)

Parameters

context
Type: VDS.RDF.Parsing.ContextsIParserContext
Parser Context.
t
Type: VDS.RDF.Parsing.TokensIToken
Token to resolve.
allowDefaultPrefixFallback
Type: SystemBoolean
Whether when the default prefix is used but not defined it can fallback to the Base URI.
qnameUnescape
Type: SystemFuncString, String
QName unescaping function.

Return Value

Type: INode

[Missing <returns> documentation for "M:VDS.RDF.Parsing.ParserHelper.TryResolveUri(VDS.RDF.Parsing.Contexts.IParserContext,VDS.RDF.Parsing.Tokens.IToken,System.Boolean,System.Func{System.String,System.String})"]

See Also