classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] Re: javax.print standard attribute enums


From: Wolfgang Baer
Subject: Re: [cp-patches] Re: javax.print standard attribute enums
Date: Mon, 28 Nov 2005 12:43:38 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Hi Mark,

Mark Wielaard wrote:
Hi Sven,

On Thu, 2005-11-24 at 16:02 +0100, Sven de Marothy wrote:

Oh, I should probably explain the stubs: The default implementation
needs to be overridden. This doesn't show up in JAPI and might easily
be forgotten until it causes someone a runtime error.
So I added stubs with FIXMEs to at least make the problem more
obvious.


Thanks. But could you add a little more explanation to the FIXMEs about
which tables need to be initialized and where to get the numbers from?

Have a look at my documentation for javax.print.attribute.EnumSyntax and
all will be clear. Every subclass needs two provide a static private
string table for the toString method and a enumTable for the
getEnumValueTable() method used during deserialization.

These are missing currently for all subclasses of EnumSyntax.

Wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]