Title: RE: help: event type

Sandy,

Thanks for the reply. Yes, it is a great help. I saw the document before, but didn't understand it. Now I think I have better understanding on it.

-Bob



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 12:13 PM
To: [EMAIL PROTECTED]
Subject: Re: help: event type


Hi Bob,

DOM events are described in the spec
"http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html",
where you can find the types defined by DOM.

Xerces only implements mutation event types:
    public static final String DOM_SUBTREE_MODIFIED = "DOMSubtreeModified";
    public static final String DOM_NODE_INSERTED = "DOMNodeInserted";
    public static final String DOM_NODE_REMOVED = "DOMNodeRemoved";
    public static final String DOM_NODE_REMOVED_FROM_DOCUMENT
= "DOMNodeRemovedFromDocument";
    public static final String DOM_NODE_INSERTED_INTO_DOCUMENT
= "DOMNodeInsertedIntoDocument";
    public static final String DOM_ATTR_MODIFIED = "DOMAttrModified";
    public static final String DOM_CHARACTER_DATA_MODIFIED
= "DOMCharacterDataModified";

Hope this helps,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]



                                                                                                                  
                    "Bob Yu"                                                                                      
                    <java-yu@home.       To:     <[EMAIL PROTECTED]>                                    
                    com>                 cc:                                                                      
                                         Subject:     help: event type                                            
                    07/07/2001                                                                                    
                    10:26 PM                                                                                      
                    Please respond                                                                                
                    to                                                                                            
                    xerces-j-dev                                                                                  
                                                                                                                  
                                                                                                                  



Hi everyone,

I currently need to use addEventListener method of NodeImpl. In the method
there are three parameters: eventType(String), eventListener(EventListener)
, and useCapture(boolean).  I think I know how to implement the
EventListener interface and what the useCapture means. However, I can not
find what the eventType means here, and how to use it. I mean, what/how
many event types I can use, and how the type be defined through XML file?
Someone in this group can help me on this issue?

I thank you in advance for the help!

Have a good weekend to you all!

-Bob
 ----- Original Message -----
 From: Yu, Yunyue (Bob)
 To: [EMAIL PROTECTED]
 Sent: Friday, July 06, 2001 9:33 AM
 Subject: Node EventListener



 Hi there,


 I am very glad to find this group of XML developers, and I hope to get
 some help from you for this issue.


 Currently I am working on a project that may need to use Node Event
 Listener (and GUI Lsteners as well) to monitoring and reaction the Node
 Event. I checked the Xerces website, but didn't find a detail way (or
 samples) how to do it. Would anyone here can help?


 Thanks!


 -Bob







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

Reply via email to