61 |
|
|
62 |
final Expr select; |
final Expr select; |
63 |
|
|
64 |
CopyOfNode(TemplateNode children, TemplateNode next, Expr select) |
CopyOfNode(Expr select) |
65 |
{ |
{ |
|
super(children, next); |
|
66 |
this.select = select; |
this.select = select; |
67 |
} |
} |
68 |
|
|
69 |
TemplateNode clone(Stylesheet stylesheet) |
TemplateNode clone(Stylesheet stylesheet) |
70 |
{ |
{ |
71 |
return new CopyOfNode((children == null) ? null : |
TemplateNode ret = new CopyOfNode(select.clone(stylesheet)); |
72 |
children.clone(stylesheet), |
if (children != null) |
73 |
(next == null) ? null : |
{ |
74 |
next.clone(stylesheet), |
ret.children = children.clone(stylesheet); |
75 |
select.clone(stylesheet)); |
} |
76 |
|
if (next != null) |
77 |
|
{ |
78 |
|
ret.next = next.clone(stylesheet); |
79 |
|
} |
80 |
|
return ret; |
81 |
} |
} |
82 |
|
|
83 |
void doApply(Stylesheet stylesheet, QName mode, |
void doApply(Stylesheet stylesheet, QName mode, |