users@jaxb.java.net

Custom validation

From: Marcus Walls <marcus.walls_at_ASPECTIVE.COM>
Date: Tue, 14 Jan 2003 15:43:23 -0700

I am creating my own datatype to perform the String.trim()
method on strings, as discussed in another thread.

I understand that this means I'll need to override the
validation for my datatype.

I'd like the validation of the type to be able to call
the validation method of the base-type.

i.e. in my example of trimming strings, I'd like to be
able to trim the string and then call the string validation
routine, safe in the knowledge that the maxLength etc
elements could still be used to configure the validation.

Is this possible?

Thanks

Marcus