What are maxValidField, emitbitmap, pad...etc used for in <isofieldpackager>

172 views
Skip to first unread message

Chris

unread,
Jun 8, 2009, 12:10:34 PM6/8/09
to jPOS Users
What are the following attributes...

maxValidField
emitBitmap
bitmapField
pad
token

used for in isofieldpackager ?

Couldn't find any documentation relating to those attributes.

Mark Salter

unread,
Jun 8, 2009, 1:20:37 PM6/8/09
to jpos-...@googlegroups.com
Chris wrote:

>
> Couldn't find any documentation relating to those attributes.

They will be implemented in the source (of course).

I did check the Programmers guide, expecting them to be defined there -
and some slight additions might be needed there. These are items that
you tend to use and forget about...

> What are the following attributes...
>
> maxValidField

Appears to be unused - which feels wrong, I will look again...

> emitBitmap
Used to indicate if a BitMap is defined and to be used from (defaults to
field number 1)

> bitmapField
overrides the BitMap field number (from 1)

> pad
Controls the PADding boolean on field types that allow it. The field
know hows to pad itself.

> token
Used in IF_T* field types that are terminated by the value specified for
token.


--
Mark

Alejandro Revilla

unread,
Jun 8, 2009, 2:41:57 PM6/8/09
to jpos-...@googlegroups.com
> >
> > maxValidField
> Appears to be unused - which feels wrong, I will look again...
>
This is used when you need to configure fields higher than 128 (i.e. up to 192).

Mark Salter

unread,
Jun 8, 2009, 4:12:37 PM6/8/09
to jpos-...@googlegroups.com

I couldn't find it being called at all, I will try once more a bit later.


--
Mark

David Bergert

unread,
Jun 8, 2009, 4:55:01 PM6/8/09
to jpos-...@googlegroups.com
It is in GenericPackager.java


David Bergert, CISSP, CISA, CPISM/A
www.paymentsystemsblog.com

Alejandro Revilla

unread,
Jun 8, 2009, 4:56:09 PM6/8/09
to jpos-...@googlegroups.com

>
> I couldn't find it being called at all, I will try once more a bit later.
>
We have:

String maxField = atts.getValue("maxValidField");

then:

if (maxField != null)
maxValidField = Integer.parseInt(maxField);

in GenericPackager.java around line #230

Reply all
Reply to author
Forward
0 new messages