NAME

Biblio::ILL::ISO::AmountString

VERSION

Version 0.01

DESCRIPTION

Biblio::ILL::ISO::AmountString is a derivation of Biblio::ILL::ISO::ILLASNtype.

USES

None.

USED IN

Biblio::ILL::ISO::Amount

FROM THE ASN DEFINITION

AmountString ::= PrintableString -- (FROM ("1"|"2"|"3"|"4"|"5"|"6"|"7"|"8"|"9"|"0"|" "|"."|","))

METHODS

new( [$string] )

Creates a new AmountString object. Expects either no parameters, or a text string. Currently does not implement the character restrictions.

set($string)

Sets the object's PrintableString. Currently does not implement the ASN.1 AmountString character restrictions.

as_string( )

Returns a stringified representation of the object.

as_pretty_string( )

Returns a more-formatted stringified representation of the object.

as_asn( )

Returns a structure usable by Convert::ASN1. Generally only called from the parent's as_asn() method (or encode() method for top-level message-type objects).

from_asn($href)

Given a properly formatted hash, builds the object.

SEE ALSO

See the README for system design notes. See the parent class(es) for other available methods.

For more information on Interlibrary Loan standards (ISO 10160/10161), a good place to start is:

http://www.nlc-bnc.ca/iso/ill/main.htm

AUTHOR

David Christensen, <DChristensenSPAMLESS@westman.wave.ca>

COPYRIGHT AND LICENSE

Copyright 2003 by David Christensen

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.