Hi,.

I am making an XML ADATPER which will parser incoming
client XML file/generate DOM and convert DOM to XMLs
ans send them to clients.

I am using Xerces parser, but i dont want my client to

interact with Xerces implementation directly. so i
want to wrap the Xerces implementation within my api. 
To do this, i am planning to extend the Xerces DOM/SAX
APIs and then ask the clients to use my own APIs
inplace of Xerces,

e.g. 

XML_DOM_Document : DOM_Document
( where XML_DOM_Document is my class and DOM_Document
 is Xerces impelmentation).

later my clients will call methods on XML_DOM_Document
instance.

e.g.  

XML_DOM_Document xmldoc ;
xmldoc.getDocumentType();

is this inheritance approach good  or do you suggest
any better mechanism to wrap Xerces implementation in 
some other way ??

pls enlighten me
thanks
Oni







__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to