jxrlib: api refacting