Class IriSpecsHelper
Static Helper class which can be used to validate IRIs according to.
RFC 3987
Inheritance
System.Object
IriSpecsHelper
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)
System.Object.ToString()
Assembly: dotNetRDF.dll
Syntax
public static class IriSpecsHelper
Methods
|
Improve this Doc
View Source
IsAbsoluteIri(String)
Gets whether a string matches the absolute-IRI production.
Declaration
public static bool IsAbsoluteIri(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDecOctet(String)
Gets whether a string matches the dec-octet production.
Declaration
public static bool IsDecOctet(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsGenDelims(Char)
Gets whether a character matches the gen-delims production.
Declaration
public static bool IsGenDelims(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsH16(String)
Gets whether a string matches the h16 production.
Declaration
public static bool IsH16(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsHexDigit(Char)
Gets whether a character matches the HEXDIG terminal.
Declaration
public static bool IsHexDigit(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIAuthority(String)
Gets whether a string matches the iauthority production.
Declaration
public static bool IsIAuthority(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIFragment(String)
Gets whether a string matches the ifragment production.
Declaration
public static bool IsIFragment(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIHierPart(String)
Gets whether a string matches the ihier-part production.
Declaration
public static bool IsIHierPart(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIHost(String)
Gets whether a string matches the ihost production.
Declaration
public static bool IsIHost(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPath(String)
Gets whether a string matches the ipath production.
Declaration
public static bool IsIPath(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPathAbEmpty(String)
Gets whether a string matches the ipath-abempty production.
Declaration
public static bool IsIPathAbEmpty(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPathAbsolute(String)
Gets whether a string matches the ipath-absolute production.
Declaration
public static bool IsIPathAbsolute(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPathEmpty(String)
Gets whether a string matches the ipath-empty production.
Declaration
public static bool IsIPathEmpty(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPathNoScheme(String)
Gets whether a string matches the ipath-noscheme production.
Declaration
public static bool IsIPathNoScheme(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPathRootless(String)
Gets whether a string matches the ipath-rootless production.
Declaration
public static bool IsIPathRootless(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIpChar(String)
Gets whether a string matches the ipchar production.
Declaration
public static bool IsIpChar(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPLiteral(String)
Gets whether a string matches the IP-literal production.
Declaration
public static bool IsIPLiteral(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPv4Address(String)
Gets whether a string matches the IPv4address production.
Declaration
public static bool IsIPv4Address(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPv6Address(String)
Gets whether a string matches the IPv6address production.
Declaration
public static bool IsIPv6Address(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIPvFuture(String)
Gets whether a string matches the IPvFuture production.
Declaration
public static bool IsIPvFuture(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIQuery(String)
Gets whether a string matches the iquery production.
Declaration
public static bool IsIQuery(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIRegName(String)
Gets whether a string matches the ireg-name production.
Declaration
public static bool IsIRegName(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIrelativePart(String)
Gets whether a string matches the irelative-part production.
Declaration
public static bool IsIrelativePart(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIrelativeRef(String)
Gets whether a string matches the irelative-ref production.
Declaration
public static bool IsIrelativeRef(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIri(String)
Gets whether a string matches the IRI production.
Declaration
public static bool IsIri(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIriReference(String)
Gets whether a string matches the IRI-reference production.
Declaration
public static bool IsIriReference(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsISegment(String)
Gets whether a string matches the isegment production.
Declaration
public static bool IsISegment(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsISegmentNz(String)
Gets whether a string matches the isegment-nz production.
Declaration
public static bool IsISegmentNz(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsISegmentNzNc(String)
Gets whether a string matches the isegment-nz-nc production.
Declaration
public static bool IsISegmentNzNc(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIUnreserved(Char)
Gets whether a character matches the iunreserved production.
Declaration
public static bool IsIUnreserved(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsIUserInfo(String)
Gets whether a string matches the userinfo production.
Declaration
public static bool IsIUserInfo(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsLs32(String)
Gets whether a string matches the ls32 production.
Declaration
public static bool IsLs32(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPctEncoded(String)
Gets whether a string matches the pct-encoded production.
Declaration
public static bool IsPctEncoded(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPort(String)
Gets whether a string matches the port production.
Declaration
public static bool IsPort(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsReserved(Char)
Gets whether a character matches the reserved production.
Declaration
public static bool IsReserved(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsScheme(String)
Gets whether a string matches the scheme production.
Declaration
public static bool IsScheme(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
String. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSubDelims(Char)
Gets whether a character matches the sub-delims production.
Declaration
public static bool IsSubDelims(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUcsChar(Char)
Gets whether a character matches the ucschar production.
Declaration
public static bool IsUcsChar(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsUnreserved(Char)
Gets whether a character matches the unreserved production.
Declaration
public static bool IsUnreserved(char c)
Parameters
Type |
Name |
Description |
System.Char |
c |
Character. |
Returns
Type |
Description |
System.Boolean |
|