- From: Philippe Le Hegaret <plh@w3.org>
- Date: Fri, 25 Feb 2000 15:49:07 +0000
- To: Blaine Brodie <bbrodie@savagesoftware.com>
- CC: www-dom@w3.org
Blaine Brodie wrote:
> I'm still a little confused about the actual implementation of this. For
> example should the Java interface for
> LinkStyle be:
>
> public interface LinkStyle extends ProcessingInstruction
> {
> public StyleSheet getSheet();
> }
>
> rather than just:
>
> public interface LinkStyle
> {
> public StyleSheet getSheet();
> }
No, your Java implementation of the XML style sheet PI must implement
ProcessingInstruction and LinkStyle
public class StyleSheetProcessingInstruction
implements ProcessingInstruction, LinkStyle {
...
}
LinkStyle is also used by HTMLLinkElement and HTMLStyleElement so
it can't extend ProcessingInstruction.
Regards,
Philippe.
Received on Friday, 25 February 2000 10:49:11 UTC