C# Class DotNetXri.Syntax.IRIAuthority

This class provides a strong typing for a IRI Authority. Any obj of this class that appears outside of the package is a valid IRI Authority. It currently only accepts IRI Authorities that serve as IP Addresses or appear to be valid host names
Inheritance: AuthorityPath
Show file Open project: AArnott/dotnetxri

Public Methods

Method Description
IRIAuthority ( String sPath ) : System
toIRINormalForm ( ) : string

Serializes the IRIAuthority into IRI normal from

toURINormalForm ( ) : string

Serializes the IRIAuthority into URI normal from

Private Methods

Method Description
IRIAuthority ( ) : System
doScan ( ParseStream oStream ) : bool

Scans the Stream for a valid IRI-Authority

scanChars ( string s ) : int
verifyDNS ( string sHost ) : bool
verifyIP ( string sIP ) : bool

Method Details

IRIAuthority() public method

public IRIAuthority ( String sPath ) : System
sPath String
return System

toIRINormalForm() public method

Serializes the IRIAuthority into IRI normal from
public toIRINormalForm ( ) : string
return string

toURINormalForm() public method

Serializes the IRIAuthority into URI normal from
public toURINormalForm ( ) : string
return string