[ http://issues.apache.org/jira/browse/XERCESJ-317?page=all ]
Michael Glavassevich updated XERCESJ-317:
-----------------------------------------
Bugzilla Id: (was: 9095)
Component: DOM (HTML)
(was: DOM (XML))
Description:
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.
was:
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.
Environment:
Operating System: Other
Platform: Other
was:
Operating System: Other
Platform: Other
Assign To: (was: Xerces-J Developers Mailing List)
Priority: Blocker
> Make the final methods in HTML DOM not finals.
> ----------------------------------------------
>
> Key: XERCESJ-317
> URL: http://issues.apache.org/jira/browse/XERCESJ-317
> Project: Xerces2-J
> Type: Bug
> Components: DOM (HTML)
> Versions: 2.0.1
> Environment: Operating System: Other
> Platform: Other
> Reporter: sc
> Priority: Blocker
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|