Class: XRDS

Class | XRDS
In: | lib/yadis/xrds.rb
Parent: | Object

### Methods

_dump _load new parse parse_xml services

### Included Modules

XRDSUtil

### Attributes

xml | [R] |

### Public Class methods

_load(s)
new(xml_text)

Create a new XRDS object. Raises ArgumentError if xml_text is malformed or invalid XRDS.

parse(xml)

Method for producing a valid XRDS object. Accepts an XML String. Returns an XRDS object on success, or nil on failure. Same as calling XRDS.new, but does not raise ArgumentErrors.

### Public Instance methods

_dump(depth)
parse_xml(xml_text)
services()

Returns an Array of ServiceEndpoint objects, sorted by priority. Highest priority is at element 0.

[Validate]