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