Dang...sorry...I'm referring to Xerces Java.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2000 4:49 PM
To: [EMAIL PROTECTED]
Subject: Re: createTreeWalker -- DocumentImpl?





Just a quick look at the DOM_Document.hpp file shows this API on
DOM_Document:

    static DOM_TreeWalker         createTreeWalker(DOM_Node root, short
whatToShow, DOM_NodeFilter  filter);

So its a static method to which you pass the root of the tree to walk and
it returns a walker to you. Are you saying that this method does not work
for you or that you don't see this method in the code that you have?

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
[EMAIL PROTECTED]



"Timm, Sean" <[EMAIL PROTECTED]> on 01/27/2000 03:45:38 PM

Please respond to [EMAIL PROTECTED]

To:   "Xerces Development List (E-mail)" <[EMAIL PROTECTED]>
cc:
Subject:  createTreeWalker -- DocumentImpl?



It appears that I can only access createTreeWalker through the DocumentImpl
interface.  Is this how it is supposed to be?  I'm working with a Cocoon
processor, and I'm passed a Document interface.  Can I assume that I can
always typecast that to DocumentImpl and then access the createTreeWalker
method?  If not, how would I go about this?

Thanks,
Sean T.


Reply via email to