ParserHelperTryResolveUri Method (IParserContext, IToken, Boolean) |
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
)
Public Shared Function TryResolveUri (
context As IParserContext,
t As IToken,
allowDefaultPrefixFallback As Boolean
) As INode
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.
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)"]
See Also