Re: DOM level 2 StyleSheets : What means "binding-specific casting methods"

Lee Hyoung Moon wrote:
> 
> Please tell me...
> I don't understand this sentence.
> " binding-specific casting methods ".
> 
> An instance of the LinkStyle interface can be
> obtained using binding-specific casting methods on an instance of a linking
> node (HTMLLinkElement [p.76] , HTMLStyleElement [p.78] or
> ProcessingInstruction [p.64] in DOM Level 2).

  If your DOM implementation supports "StyleSheets", the following operation
are allowed :

Java:
 ((LinkStyle) processingInstruction).sheet

Ecmascript:
  processingInstruction.sheet

  The main reason to not have a ProcessingInstructionStyle (inherits
from LinkStyle and ProcessingInstruction) was to avoid diamond inheritance.

Regards,
Philippe.
---------
Philippe Le Hegaret - http://www.w3.org/People/LeHegaret/
World Wide Web Consortium (W3C), DOM Activity Lead

Received on Wednesday, 27 October 1999 05:42:11 UTC