67 |
final Node source; |
final Node source; |
68 |
final Collection elementExcludeResultPrefixes; |
final Collection elementExcludeResultPrefixes; |
69 |
|
|
70 |
ElementNode(TemplateNode children, TemplateNode next, TemplateNode name, |
ElementNode(TemplateNode name, |
71 |
TemplateNode namespace, String uas, Node source) |
TemplateNode namespace, String uas, Node source) |
72 |
{ |
{ |
|
super(children, next); |
|
73 |
this.name = name; |
this.name = name; |
74 |
this.namespace = namespace; |
this.namespace = namespace; |
75 |
this.uas = uas; |
this.uas = uas; |
94 |
|
|
95 |
TemplateNode clone(Stylesheet stylesheet) |
TemplateNode clone(Stylesheet stylesheet) |
96 |
{ |
{ |
97 |
return new ElementNode((children == null) ? null : |
TemplateNode ret = new ElementNode(name.clone(stylesheet), |
98 |
children.clone(stylesheet), |
(namespace == null) ? null : |
99 |
(next == null) ? null : |
namespace.clone(stylesheet), |
100 |
next.clone(stylesheet), |
uas, source); |
101 |
name.clone(stylesheet), |
if (children != null) |
102 |
(namespace == null) ? null : |
{ |
103 |
namespace.clone(stylesheet), |
ret.children = children.clone(stylesheet); |
104 |
uas, source); |
} |
105 |
|
if (next != null) |
106 |
|
{ |
107 |
|
ret.next = next.clone(stylesheet); |
108 |
|
} |
109 |
|
return ret; |
110 |
} |
} |
111 |
|
|
112 |
void doApply(Stylesheet stylesheet, QName mode, |
void doApply(Stylesheet stylesheet, QName mode, |