Home | Trees | Indices | Help |
|
---|
|
See Also: XRI Syntax v2.0 at the OASIS XRI Technical Committee
|
|||
identifierScheme(identifier) Determine if this identifier is an XRI or URI. |
|||
toIRINormal(xri) Transform an XRI to IRI-normal form. |
|||
_escape_xref(xref_match) Escape things that need to be escaped if they're in a cross-reference. |
|||
escapeForIRI(xri) Escape things that need to be escaped when transforming to an IRI. |
|||
toURINormal(xri) Transform an XRI to URI normal form. |
|||
_percentEscapeUnicode(char_match) | |||
iriToURI(iri) Transform an IRI to a URI by escaping unicode. |
|||
bool |
providerIsAuthoritative(providerID,
canonicalID) Is this provider ID authoritative for this XRI? |
||
unicode |
rootAuthority(xri) Return the root authority for an XRI. |
||
XRI(xri) An XRI object allowing comparison of XRI. |
|
|||
XRI_AUTHORITIES = ['!', '=', '@', '+', '$', '(']
|
|||
UCSCHAR = [(160, 55295), (63744, 64975), (65008, 65519), (6553...
|
|||
IPRIVATE = [(57344, 63743), (983040, 1048573), (1048576, 1114109)]
|
|||
_escapeme_re = <_sre.SRE_Pattern object at 0x8383430>
|
|||
_xref_re = <_sre.SRE_Pattern object at 0xb7cfff50>
|
|
Determine if this identifier is an XRI or URI.
|
Transform an XRI to IRI-normal form. |
Escape things that need to be escaped if they're in a cross-reference. |
Escape things that need to be escaped when transforming to an IRI. |
Transform an XRI to URI normal form. |
|
Transform an IRI to a URI by escaping unicode. |
Is this provider ID authoritative for this XRI?
|
Return the root authority for an XRI. Example:rootAuthority("xri://@example") == "xri://@"
|
An XRI object allowing comparison of XRI. Ideally, this would do full normalization and provide comparsion operators as per XRI Syntax. Right now, it just does a bit of canonicalization by ensuring the xri scheme is present.
|
|
XRI_AUTHORITIES
|
UCSCHAR
|
IPRIVATE
|
_escapeme_re
|
_xref_re
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 8 13:17:17 2006 | http://epydoc.sourceforge.net |