Module Interface URI:CharClass

SUMMARY: MODULE | CLASS | TYPE | PROC | VAR | CONST | DETAIL: TYPE | PROC | VAR | CONST

# URI:CharClass

### Import List

Procedure Summary
IsAlpha(CHAR): BOOLEAN
IsAlphaNum(CHAR): BOOLEAN
IsDigit(CHAR): BOOLEAN
IsMark(CHAR): BOOLEAN
IsMember(CHAR, ARRAY OF CHAR): BOOLEAN
IsReserved(CHAR): BOOLEAN
IsUnreserved(CHAR): BOOLEAN
SkipAlpha(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipAlphaNum(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipAuthChar(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipDigit(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipEscaped(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipMark(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipMember(ARRAY OF CHAR, VAR INTEGER, ARRAY OF CHAR): BOOLEAN
SkipPChar(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipReserved(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipURIC(ARRAY OF CHAR, VAR INTEGER): BOOLEAN
SkipUnreserved(ARRAY OF CHAR, VAR INTEGER): BOOLEAN

Constant Summary
reserved The list of characters that are allowed within a URI, but may not be allowed within a particular component of the generic URI syntax.
unreservedChar Like unreservedPChar, but without ``:`'.
unreservedPChar All characters that are classified as reserved, but need not to be escaped if used as a ``pchar`'.
unreservedUserinfo All characters that are classified as reserved, but need not to be escaped if used within a userinfo string.

Procedure Detail

### IsAlpha

    PROCEDURE IsAlpha(ch: CHAR): BOOLEAN

### IsAlphaNum

    PROCEDURE IsAlphaNum(ch: CHAR): BOOLEAN

### IsDigit

    PROCEDURE IsDigit(ch: CHAR): BOOLEAN

### IsMark

    PROCEDURE IsMark(ch: CHAR): BOOLEAN

### IsMember

    PROCEDURE IsMember(ch: CHAR;
                       set: ARRAY OF CHAR): BOOLEAN

### IsReserved

    PROCEDURE IsReserved(ch: CHAR): BOOLEAN

### IsUnreserved

    PROCEDURE IsUnreserved(ch: CHAR): BOOLEAN

### SkipAlpha

    PROCEDURE SkipAlpha(str: ARRAY OF CHAR;
                        VAR pos: INTEGER): BOOLEAN

### SkipAlphaNum

    PROCEDURE SkipAlphaNum(str: ARRAY OF CHAR;
                           VAR pos: INTEGER): BOOLEAN

### SkipAuthChar

    PROCEDURE SkipAuthChar(str: ARRAY OF CHAR;
                           VAR pos: INTEGER): BOOLEAN

### SkipDigit

    PROCEDURE SkipDigit(str: ARRAY OF CHAR;
                        VAR pos: INTEGER): BOOLEAN

### SkipEscaped

    PROCEDURE SkipEscaped(str: ARRAY OF CHAR;
                          VAR pos: INTEGER): BOOLEAN

### SkipMark

    PROCEDURE SkipMark(str: ARRAY OF CHAR;
                       VAR pos: INTEGER): BOOLEAN

### SkipMember

    PROCEDURE SkipMember(str: ARRAY OF CHAR;
                         VAR pos: INTEGER;
                         set: ARRAY OF CHAR): BOOLEAN

### SkipPChar

    PROCEDURE SkipPChar(str: ARRAY OF CHAR;
                        VAR pos: INTEGER): BOOLEAN

### SkipReserved

    PROCEDURE SkipReserved(str: ARRAY OF CHAR;
                           VAR pos: INTEGER): BOOLEAN

### SkipURIC

    PROCEDURE SkipURIC(str: ARRAY OF CHAR;
                       VAR pos: INTEGER): BOOLEAN

### SkipUnreserved

    PROCEDURE SkipUnreserved(str: ARRAY OF CHAR;
                             VAR pos: INTEGER): BOOLEAN

Constant Detail

### reserved

    CONST reserved

> The list of characters that are allowed within a URI, but may not be allowed within a particular component of the generic URI syntax. Note: RFC 2732, Format for Literal IPv6 Addresses in URL's, adds the characters ``[`' and ``]`' to the set of reserved characters. Until URI:Authority:ServerBased implements literal IPv6 addresses, extending reserved only prevents other modules (e.g., the XML parser) from escaping these characters.

### unreservedChar

    CONST unreservedChar

> Like unreservedPChar, but without ``:`'.

### unreservedPChar

    CONST unreservedPChar

> All characters that are classified as reserved, but need not to be escaped if used as a ``pchar`'. In particular, these characters can be used unchanged as part of a path segment or path parameter.

### unreservedUserinfo

    CONST unreservedUserinfo

> All characters that are classified as reserved, but need not to be escaped if used within a userinfo string.