|
From: Geoffrey M. <geo...@ho...> - 2007-10-08 16:59:18
|
>yup, but I'd prefer to have the date represented in a standard format. >Doesn't toString() vary by locale, etc? > > > Probably true. >That's a good idea. I've used another tool that's similar to Domify >called Skaringa that allows you to plug in custom handlers and that >feature has come in handy. > >Looks like Domify stores the list of "stringified" classes in the >DOMAdapter class and dips into it from the >ElementAdapter.getNodeListAdapter(). We could add a >DOMAdapter.findAdapter() method that returns a NodeList or null. >getNodeListAdapter() could look to see if there's a specific adapter >or else fall back to the existing logic. > >We could probably write a new DOMAdapter.stringify() method that used >the new mechanism, to keep back-compatibility. > >Is this along the lines of what you were thinking? > > > Yep, that's more or less what I was thinking. I'll try to work on it tonight or tomorrow (and get HEAD building as well). Geoff -- Geoffrey Mitchell Programmer/Analyst Home Decorator's Collection 314-684-1062 |