Aranea::XML::CandidateEntry
- object representing an entry in the <candidate_list>
of an Aranea XML object
|
The CandidateEntry
object represents a single entry inside the
candidate_list
section of an Aranea XML object. Here is an example:
|
The CandidateList
object serves as
a container for a collection of CandidateEntry
s.
new($candidate, $score)
CandidateEntry
given a candidate and a score
for that candidate.
candidate([$candidate])
score([$score])
projection_score([$score])
support([$support])
support_docs
method.
add_support($url)
support_count($url)
$#
, i.e., -1 for no entries, 0 for one entry,
etc.
support_docs([$listref])
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.