54 |
extends TemplateNode |
extends TemplateNode |
55 |
{ |
{ |
56 |
|
|
|
CommentNode(TemplateNode children, TemplateNode next) |
|
|
{ |
|
|
super(children, next); |
|
|
} |
|
|
|
|
57 |
TemplateNode clone(Stylesheet stylesheet) |
TemplateNode clone(Stylesheet stylesheet) |
58 |
{ |
{ |
59 |
return new CommentNode((children == null) ? null : |
TemplateNode ret = new CommentNode(); |
60 |
children.clone(stylesheet), |
if (children != null) |
61 |
(next == null) ? null : |
{ |
62 |
next.clone(stylesheet)); |
ret.children = children.clone(stylesheet); |
63 |
|
} |
64 |
|
if (next != null) |
65 |
|
{ |
66 |
|
ret.next = next.clone(stylesheet); |
67 |
|
} |
68 |
|
return ret; |
69 |
} |
} |
70 |
|
|
71 |
void doApply(Stylesheet stylesheet, QName mode, |
void doApply(Stylesheet stylesheet, QName mode, |