static XRIPath scanXRIPath(ParseStream oStream) { // check for a local path regardless of scanAuthority outcome XRIAbsolutePath oPath = new XRIAbsolutePath(); if (oPath.scan(oStream)) { return oPath; } else { XRINoSchemePath oRelativePath = new XRINoSchemePath(); if (oRelativePath.scan(oStream)) { return oRelativePath; } } return null; }
internal XRIAbsolutePath(XRINoSchemePath oPath) { moSegments = oPath.moSegments; mbAllowColon = true; }