Re: Java datatype library: value object->string conversion

Kohsuke Kawaguchi <[email protected]> Wed, 03 Nov 2004 09:37:47 -0800
Newsgroups gmane.text.xml.relaxng.general
Message-ID <[email protected]>
Julian Scheid wrote:
> I'm working on a Relax NG implementation which needs to convert data 
> values two-way, both string->object and object->string. I'd like to use 
> the datatype library interface for this purpose, but I can't seem to 
> find a method complementing DataType.createValue(), one that converts a 
> value object to a string. Is there a reason for the API's read-only 
> design, or am I missing something?

I guess it's just because value->string conversion wasn't necessary to 
build validators.



-- 
Kohsuke Kawaguchi
Sun Microsystems                   [email protected]