Maarten Coene
Sat, 05 Mar 2005 08:31:57 -0800
Hi!
I need to use customized Elements, which provide special methods. So,I
have implemented these 3 classes:
DecoratedAttribute extends DefaultAttribute
DecoratedElement extends DefaultElement
DecoratedDocumentFactory extends DocumentFactory
But how can I tell SAXReader to use these elements to build the DOM?
I've found this "suspicious" method in SAXReader:
setDocumentFactory(DocumentFactory factory)
Is it sufficient to register my DocumentFactory using this method?
Are there any additional things I should do?
Thanks for any advice,
Michael
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com