C# Class DotNetXri.Syntax.XRef

This class provides a strong typing for a XRI cross reference. Any obj of this class that appears outside of the package is a valid cross reference.
Inheritance: Parsable
Show file Open project: AArnott/dotnetxri Class Usage Examples

Public Methods

Method Description
XRef ( string sPath ) : System

Constructs a cross-reference from a string

getIRI ( ) : string
getXRIReference ( ) : XRIReference
toIRINormalForm ( ) : string

Serializes XRef into IRI normal from

toURINormalForm ( ) : string

Private Methods

Method Description
XRef ( ) : System
doScan ( ParseStream oStream ) : bool
scanIRI ( ParseStream oStream ) : string

Returns a non-null String if an IRI is consumed from the stream

scanIRIChars ( string s ) : int
scanXRIReference ( ParseStream oStream ) : XRIReference

Returns a non-null XRIReference if an XRIReference is consumed from the stream

Method Details

XRef() public method

Constructs a cross-reference from a string
public XRef ( string sPath ) : System
sPath string
return System

getIRI() public method

public getIRI ( ) : string
return string

getXRIReference() public method

public getXRIReference ( ) : XRIReference
return XRIReference

toIRINormalForm() public method

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

toURINormalForm() public method

public toURINormalForm ( ) : string
return string