WebService::Lucene::XOXOParser - Simple XOXO Parser


WebService-Lucene documentation  | view source Contained in the WebService-Lucene distribution.

Index


NAME

Top

WebService::Lucene::XOXOParser - Simple XOXO Parser

SYNOPSIS

Top

    use WebService::Lucene::XOXOParser;

    my $parser     = WebService::Lucene::XOXOParser->new;
    my @properties = $parser->parse( $xml );

DESCRIPTION

Top

This module provides simple XOXO parsing for Lucene documents.

METHODS

Top

new( )

Creates a new parser instance.

parse( $xml )

Parses XML and returns an array of hashrefs decribing each property.

construct( @properties )

Takes an array of properties and constructs an XOXO XML structure.

encode_entities( $value )

Escapes some chars to their entities.

dl

Shortcut to create a definition list

dt

Shortcut to create a definition term

dd

Shortcut to create a definition description

AUTHORS

Top

* Brian Cassidy <brian.cassidy@nald.ca>
* Adam Paynter <adam.paynter@nald.ca>

COPYRIGHT AND LICENSE

Top


WebService-Lucene documentation  | view source Contained in the WebService-Lucene distribution.