You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/15 05:53:02 UTC
DO NOT REPLY [Bug 9095] New: -
Make the final methods in HTML DOM not finals.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9095
Make the final methods in HTML DOM not finals.
Summary: Make the final methods in HTML DOM not finals.
Product: Xerces2-J
Version: 2.0.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: gnuehcsc@yahoo.com
For examples these 2 methods are final in HTMLElementImpl
public final NodeList getElementsByTagName( String tagName )
public final NodeList getElementsByTagNameNS( String namespaceURI,
String localName )
By marking these methods, I can't over-ride these methods when I need to. And I
need to do that if I need to integrate the DOM with javaScript engine (Rhino),
since NodeList are not "Scriptable" (Rhino). If these methods are not final, I
can inherit these methods and put a wrapper around the NodeList of the return
value.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org