Aranea::XML::RequestEntry
- object representing an entry in the <request_list>
of an Aranea XML object
|
The RequestEntry
object represents a single entry inside the
candidate_list
section of an Aranea XML object. Here is an example:
|
The RequestList
object serves as
a container for a collection of RequestEntry
s.
new($data)
Request
object given parsed XML data. Note that the
preferred way of creating requests is to use the
add_default_exact_query
or add_default_inexact_query
methods of
RequestList
, which creates a query with
the default parameters:
|
query([$request])
score([$request])
get_constraint($constraint)
write_xml($writer)
CandidateList
; takes an
XML::Writer
as its only argument. Note that this method is rarely
invoked manually; under typical usage patterns, the write_xml
method of Aranea::XML::Aranea
will call this
method automatically.
The Aranea Question Answering Project. Copyright (C) 2002 by Jimmy Lin (jimmylin@ai.mit.edu)