Class ZOOM::Record
Prev |  | Next

## Class `ZOOM::Record`

Abstract

A record object is a retrieval record on the client side - created from result sets.

Inherits from: Object ← `ZOOM::Record` .

Included in: ZOOM .

Index: database render syntax to_s xml

Instance methods
`database` | database(charset_from=nil, charset_to=nil)
| `charset_from`: the name of the charset to convert from (optional). `charset_to`: the name of the charset to convert to (optional). Returns: the database name of the record.
`render` | render(charset_from=nil, charset_to=nil)
| `charset_from`: the name of the charset to convert from (optional). `charset_to`: the name of the charset to convert to (optional). Returns: a display friendly description of the record.
`syntax` | syntax(charset_from=nil, charset_to=nil)
| `charset_from`: the name of the charset to convert from (optional). `charset_to`: the name of the charset to convert to (optional). Returns: the symbolic transfer syntax name of the record.
`to_s` | to_s(charset_from=nil, charset_to=nil)
| Synonym for `ZOOM::Record#render`. `charset_from`: the name of the charset to convert from (optional). `charset_to`: the name of the charset to convert to (optional). Returns: a display friendly description of the record.
`xml` | xml(charset_from=nil, charset_to=nil)
| Returns an XML description of the record. SRW/SRU and Z39.50 records with transfer syntax XML are returned verbatim. MARC records are returned in MARCXML (converted from ISO2709 to MARCXML by YAZ). GRS-1 and OPAC records are not supported for this form. `charset_from`: the name of the charset to convert from (optional). `charset_to`: the name of the charset to convert to (optional). Returns: an XML description of the record.

Prev | Up | Next
Class ZOOM::Query | Home | Class ZOOM::ResultSet