use of org.jpos.iso.TaggedFieldPackager in project jPOS by jpos.
the class TaggedSequencePackager method setFieldPackager.
public void setFieldPackager(ISOFieldPackager[] subFieldPackagers) {
super.setFieldPackager(subFieldPackagers);
for (ISOFieldPackager subFieldPackager : subFieldPackagers) {
if (subFieldPackager instanceof TaggedFieldPackager) {
String token = ((TaggedFieldPackager) subFieldPackager).getToken();
if ("##########".startsWith(token)) {
token = "default";
}
packagerMap.put(token, (TaggedFieldPackager) subFieldPackager);
}
}
this.tagPackager = getTagPackager();
}
Aggregations