Taxi::Mysql::Format::Text1 - hit list formatter: single text attribute


NAME

Taxi::Mysql::Format::Text1 - hit list formatter: single text attribute

(Back to Top)


SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 use Taxi::Mysql::Format::Text1;
 ##========================================================================
 ## Constructors etc.
 $q = $CLASS_OR_OBJ->new(%args);
 ##========================================================================
 ## API
 $str = $fmt->toString($hl);

(Back to Top)


DESCRIPTION

Taxi::Mysql::Format::Text is a class for formatting HitList objects as raw text in a one-hit-per-line format, but outputs only a single attribute per hit token.

Globals etc.

Variable: @ISA

Taxi::Mysql::Format::Text inherits from and implements the API specified by Taxi::Mysql::Text.

Constructors etc.

new
 $q = $CLASS_OR_OBJ->new(%args);

Object structure, known %args:

   {
    ##-- target column selection (new)
    textCol   => $col, ##-- sets $fmt->{textCols}; default='text'
    ##-- Text formatting (from ../Text)
    biblCols  => \@biblCols,   ##-- key pseudo-set: bibliographic columns from hit (default=none)
    mark      => [$pre,$post], ##-- match highlighting strings
    ##-- Source data (from ../Format)
    index  => $index,     ##-- underlying Taxi::Mysql object
   }

API

toString
 $str = $fmt->toString($hl);

(undocumented)

(Back to Top)


ACKNOWLEDGEMENTS

Perl by Larry Wall.

(Back to Top)


AUTHOR

Bryan Jurish <moocow@ling.uni-potsdam.de>

(Back to Top)


COPYRIGHT AND LICENSE

Copyright (C) 2006 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

(Back to Top)


SEE ALSO

perl(1), Taxi::Mysql(3perl), Taxi::Mysql::Format(3perl), Taxi::Mysql::Format::Text(3perl), Taxi::Mysql::Format::TextBibl(3perl).

(Back to Top)

 Taxi::Mysql::Format::Text1 - hit list formatter: single text attribute