C# Class DotNetXri.Syntax.XRIAbsolutePath

This class provides a strong typing for a XRI Absolute Path. Any obj of this class that appears outside of the package is a valid XRI Absolute Path.
Inheritance: XRIPath
Datei anzeigen Open project: AArnott/dotnetxri

Public Methods

Method Description
XRIAbsolutePath ( string sPath )

Constructs LocalPath from a String

isPrefixOf ( XRIAbsolutePath path ) : bool

Tests to see if this absolute path is a subsegment-wise prefix of the given path.

toIRINormalForm ( ) : string

Serializes Local Path into IRI normal from

Private Methods

Method Description
XRIAbsolutePath ( )

Protected Constructor used by package only

XRIAbsolutePath ( XRINoSchemePath oPath )
doScan ( ParseStream oStream ) : bool

Parses the input stream into the obj

Method Details

XRIAbsolutePath() public method

Constructs LocalPath from a String
public XRIAbsolutePath ( string sPath )
sPath string

isPrefixOf() public method

Tests to see if this absolute path is a subsegment-wise prefix of the given path.
public isPrefixOf ( XRIAbsolutePath path ) : bool
path XRIAbsolutePath
return bool

toIRINormalForm() public method

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