Steven,
It's probably not the best solution, but you can use the getFieldDescriptor()
method of AbstractFieldHandler (GeneralizedFieldHandler) to find out about the
which field is being processed and you can do the proper padding as necessary.
--Keith
[EMAIL PROTECTED] wrote:
Hi folks,
Hi Steven,
adding parameters that should be passed to a FieldHandler to field
mapping should be easy but I don't know if there are any difficulties to
pass them to the FieldHandler at construction. As I never worked at
FieldHandlers myself I don't know if an own instance is created for
every
Keith said...
It's probably not the best solution, but you can use the
getFieldDescriptor() method of AbstractFieldHandler
(GeneralizedFieldHandler)
to find out about the which field is being processed and you can do
the
proper padding as necessary.
This sounds OK to me. You could just
Steven/Chris-
To answer the last question, yes, if you use a FieldHandler to wrap
data in CDATA blocks, the serializer will escape the leading
character(s). The way to get around this has been discussed recently
on the list, but basically consists of instantiating your own
XMLSerializer and
To answer the last question, yes, if you use a FieldHandler to wrap
data in CDATA blocks, the serializer will escape the leading
character(s). The way to get around this has been discussed recently
on the list, but basically consists of instantiating your own
XMLSerializer and configuring
Hi folks,
I'm trying to figure out how to do a custom FieldHandler that can have
some parameters.
In the on-going saga of my project, I have to apply some formatting
rules to some of the outgoing XML. Specifically, for certain steps I need
to have fixed-width content in the elements, and do one
6 matches
Mail list logo