[jdom-interest] Toward beta 9

Bradley S. Huffman hip at a.cs.okstate.edu
Thu Apr 10 07:14:49 PDT 2003


I tried that last spring, or something similar like putting inner classes
for Element, Text, etc. in SAXHandler, but now I cann't remember
why I abandoned it. Guess I need to start keeping better notes.

Brad

Philip Nelson writes:

> Has anybody tried this approach?
> 
> create a package protected or inner subclass of DefaultJDOMFactory in
> SAXBuilder.  Then in the factory, for example...
> 
>     private class NoCheckText extends Text
>     { 
>        public void noCheck(String text) {
>           value = text;
>        }
>     }
>     public Text text(String text) {
>         NoCheckText t = new NoCheckText();
>         t.noCheck(text);
>         return (Text) t;
>     }
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost
> .com
> 



More information about the jdom-interest mailing list