55 |
|
|
56 |
final boolean terminate; |
final boolean terminate; |
57 |
|
|
58 |
MessageNode(TemplateNode children, TemplateNode next, boolean terminate) |
MessageNode(boolean terminate) |
59 |
{ |
{ |
|
super(children, next); |
|
60 |
this.terminate = terminate; |
this.terminate = terminate; |
61 |
} |
} |
62 |
|
|
63 |
TemplateNode clone(Stylesheet stylesheet) |
TemplateNode clone(Stylesheet stylesheet) |
64 |
{ |
{ |
65 |
return new MessageNode((children == null) ? null : |
TemplateNode ret = new MessageNode(terminate); |
66 |
children.clone(stylesheet), |
if (children != null) |
67 |
(next == null) ? null : |
{ |
68 |
next.clone(stylesheet), |
ret.children = children.clone(stylesheet); |
69 |
terminate); |
} |
70 |
|
if (next != null) |
71 |
|
{ |
72 |
|
ret.next = next.clone(stylesheet); |
73 |
|
} |
74 |
|
return ret; |
75 |
} |
} |
76 |
|
|
77 |
void doApply(Stylesheet stylesheet, QName mode, |
void doApply(Stylesheet stylesheet, QName mode, |