SUMMARY: MODULE | CLASS | TYPE | PROC | VAR | CONST | DETAIL: TYPE | PROC | VAR | CONST |
Exception Exception Object Object RT0 TextRider URI
Class List | |
Generic | This class implements the generic opaque URI. |
Class Summary: Generic [Detail] | |
+---RT0.Object | +---Object.Object | +---URI.URI | +---URI.OpaqueURI | +--URI:Scheme:Opaque.Generic This class implements the generic opaque URI. | |
Field Summary | |
opaque-: STRING | |
Inherited Fields | |
Constructor Summary | |
Init(Generic, STRING, STRING) | |
New(STRING, STRING): Generic | |
Method Summary | |
Clone(): Generic Creates a deep copy of the URI referenced by uri. | |
Copy(URI) Copies contents of source uri to target dest. | |
ParseOpaquePart(CharsLatin1, Offset) Parses the opaque component str of an URI. | |
ToString(): String8 Converts the URI uri to its string representation. | |
WriteXML(Writer) Writes an XML fragment describing the URI uri to the writer w. | |
Inherited Methods | |
From RT0.Object: From Object.Object: From URI.URI: From URI.OpaqueURI: |
Class Detail: Generic |
Field Detail |
FIELD opaque-: STRING
Constructor Detail |
PROCEDURE Init(uri: Generic; schemeId: STRING; opaque: STRING)
PROCEDURE New(schemeId: STRING; opaque: STRING): Generic
Method Detail |
PROCEDURE (uri: Generic) Clone(): Generic
Creates a deep copy of the URI referenced by uri. That is, it creates a new instance of uri and calls URI.Copy on it.
[Description inherited from Clone]
PROCEDURE (uri: Generic) Copy(dest: URI)
Copies contents of source uri to target dest.
Pre-condition: The dynamic type of dest is an extension of the dynamic type of uri.
[Description inherited from Copy]
PROCEDURE (uri: Generic) ParseOpaquePart(str: CharsLatin1; offset: Offset) RAISES ParseError;
Parses the opaque component str of an URI. On success, the data is stored in the URI uri and the result is NIL. In case of error, e.g., because str contains characters that are not allowed in an URI, an error message is returned and uri is not modified. A character position in an error message refers to an index in str, incremented by the value of offset.
[Description inherited from ParseOpaquePart]
Redefines: ParseOpaquePart
PROCEDURE (uri: Generic) ToString(): String8
Converts the URI uri to its string representation. Reserved characters in the URI and characters that may not appear in a valid URI are escaped where necessary.
[Description inherited from ToString]
PROCEDURE (uri: Generic) WriteXML(w: Writer)
Writes an XML fragment describing the URI uri to the writer w.
[Description inherited from WriteXML]