NAME

xDT::Record - A xDT record

VERSION

Version 1.00

SYNOPSIS

Instances of this module correspond to records (lines) in a xDT file. They provide some methods to acces fields and record type metadata.

use xDT::Record;

my $record = xDT::Record->new($line);
say 'Value: '. $record->getValue();
say 'Length: '. $record->getLength();

my $recordType = $record->getRecordType();

ATTRIBUTES

length The length of this record.

recordType This records record type.

value The value of this record.

SUBROUTINES/METHODS

getLength Returns the length of this record.

getRecordType Returns the record type of this record.

getAccessor Returns the accessor of the records record type.

getLabels Returns the labels of the records record type.

getId Returns the id of the records record type.

getType Returns the type of the records record type.

getMaxLength Returns the maximum length of the records record type.

isObjectEnd Checks if the records record type is an end record.

getValue Returns the value of this record.

AUTHOR

Christoph Beger, <christoph.beger at imise.uni-leipzig.de>

BUGS

Please report any bugs or feature requests to bug-xdt-parser at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=xDT-Parser. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc xDT::Record

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2017 Christoph Beger.

This program is released under the following license: MIT