C# Class DotNetXri.Syntax.Characters

This class provides utility methods for parsing XRIs
Show file Open project: AArnott/dotnetxri

Public Properties

Property Type Description
IPCHAR UnicodeSet
IUNRESERVED UnicodeSet
UCSCHAR UnicodeSet
XRI_PCHAR UnicodeSet

Public Methods

Method Description
isIPChar ( int c ) : bool

Determines if this character is a valid ipchar (iunreserved/pct-encoded/sub-delims/":"/"@").

This does not check for pct-encoded characters

isPChar ( int c ) : bool

Determines if this character is a valid xri-pchar

Private Methods

Method Description
Characters ( )
isEscaped ( int c, string s, int i ) : bool

Method Details

isIPChar() public static method

Determines if this character is a valid ipchar (iunreserved/pct-encoded/sub-delims/":"/"@").
This does not check for pct-encoded characters
public static isIPChar ( int c ) : bool
c int The char to examine
return bool

isPChar() public static method

Determines if this character is a valid xri-pchar
public static isPChar ( int c ) : bool
c int The char to examine
return bool

Property Details

IPCHAR public static property

public static UnicodeSet IPCHAR
return UnicodeSet

IUNRESERVED public static property

public static UnicodeSet IUNRESERVED
return UnicodeSet

UCSCHAR public static property

public static UnicodeSet UCSCHAR
return UnicodeSet

XRI_PCHAR public static property

public static UnicodeSet XRI_PCHAR
return UnicodeSet