NAME

A Factory for creating WWW::EFA::Departure objects.

SYNOPSIS

my $factory = WWW::EFA::DepartureFactory->new();

VERSION

Version 0.01

ATTRIBUTES

# TODO: RCL 2012-01-22 Document attributes

METHODS

departure_from_itdDeparture

Returns a WWW::EFA::Departure object

my $departure = $factory->departure_from_itdDeparture( $itd_odv->findnodes( '/itdDeparture' ) );

Expects an XML::LibXML::Element of XML like this:

<itdDeparture stopID="8" x="11536492.00000" y="48142609.00000" mapName="WGS84" area="1" platform="S-RiW" platformName="" stopName="Donnersbergerbrücke" nameWO="Donnersbergerbrücke" countdown="1"> <itdDateTime> <itdDate year="2011" month="11" day="4" weekday="6"/> <itdTime hour="15" minute="9" ap=""/> </itdDateTime> <itdServingLine key="1424" code="2" number="S8" symbol="S8" motType="1" realtime="0" direction="Herrsching" destID="5410" stateless="mvv:01008:B:R:s11"> <itdNoTrain name="S-Bahn"/> <motDivaParams line="01008" project="s11" direction="R" supplement="B" network="mvv"/> </itdServingLine> </itdDeparture>

COPYRIGHT

Copyright 2011, Robin Clarke, Munich, Germany

AUTHOR

Robin Clarke <perl@robinclarke.net>

1 POD Error

The following errors were encountered while parsing the POD:

Around line 61:

Non-ASCII character seen before =encoding in 'stopName="Donnersbergerbrücke"'. Assuming UTF-8