Home | Trees | Indices | Help |
|
---|
|
|
|||
XRDSError An error with the XRDS document. |
|||
XRDSFraud Raised when there's an assertion in the XRDS that it does not have the authority to make. |
|||
_Max Value that compares greater than any other value. |
|
|||
parseXRDS(text) Parse the given text as an XRDS document. |
|||
nsTag(ns, t) | |||
mkXRDTag(t) basestring -> basestring |
|||
mkXRDSTag(t) basestring -> basestring |
|||
isXRDS(xrd_tree) Is this document an XRDS document? |
|||
getYadisXRD(xrd_tree) Return the XRD element that should contain the Yadis services |
|||
unicode or None |
getCanonicalID(iname,
xrd_tree) Return the CanonicalID from this XRDS document. |
||
getPriorityStrict(element) Get the priority of this element. |
|||
getPriority(element) Get the priority of this element |
|||
prioSort(elements) Sort a list of elements that have priority attributes |
|||
iterServices(xrd_tree) Return an iterable over the Service elements in the Yadis XRD |
|||
sortedURIs(service_element) Given a Service element, return a list of the contents of all URI tags in priority order. |
|||
getTypeURIs(service_element) Given a Service element, return a list of the contents of all Type tags |
|||
expandService(service_element) Take a service element and expand it into an iterator of: ([type_uri], uri, service_element) |
|||
expandServices(service_elements) Take a sorted iterator of service elements and expand it into a sorted iterator of: ([type_uri], uri, service_element) |
|
|||
XRD_NS_2_0 = 'xri://$xrd*($v*2.0)'
|
|||
XRDS_NS = 'xri://$xrds'
|
|||
root_tag = '{xri://$xrds}XRDS'
|
|||
service_tag = '{xri://$xrd*($v*2.0)}Service'
|
|||
xrd_tag = '{xri://$xrd*($v*2.0)}XRD'
|
|||
type_tag = '{xri://$xrd*($v*2.0)}Type'
|
|||
uri_tag = '{xri://$xrd*($v*2.0)}URI'
|
|||
canonicalID_tag = '{xri://$xrd*($v*2.0)}CanonicalID'
|
|||
Max = <yadis.etxrd._Max object at 0xb7af85ac>
|
|
Parse the given text as an XRDS document.
|
|
basestring -> basestring Create a tag name in the XRD 2.0 XML namespace suitable for using with ElementTree |
basestring -> basestring Create a tag name in the XRDS XML namespace suitable for using with ElementTree |
Is this document an XRDS document? |
Return the XRD element that should contain the Yadis services |
Return the CanonicalID from this XRDS document.
|
Get the priority of this element. Raises ValueError if the value of the priority is invalid. If no priority is specified, it returns a value that compares greater than any other value. |
Get the priority of this element Returns Max if no priority is specified or the priority value is invalid. |
Sort a list of elements that have priority attributes |
Return an iterable over the Service elements in the Yadis XRD sorted by priority |
Given a Service element, return a list of the contents of all URI tags in priority order. |
Given a Service element, return a list of the contents of all Type tags |
Take a service element and expand it into an iterator of: ([type_uri], uri, service_element) |
Take a sorted iterator of service elements and expand it into a sorted iterator of: ([type_uri], uri, service_element) There may be more than one item in the resulting list for each service element if there is more than one URI or type for a service, but each triple will be unique. If there is no URI or Type for a Service element, it will not appear in the result. |
|
XRD_NS_2_0
|
XRDS_NS
|
root_tag
|
service_tag
|
xrd_tag
|
type_tag
|
uri_tag
|
canonicalID_tag
|
Max
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Fri Dec 8 13:17:17 2006 | http://epydoc.sourceforge.net |