--- /home/cpdev/src/classpath/gnu/xml/transform/TemplateNode.java 2005年07月10日 05:32:35.000000000 +0000 +++ gnu/xml/transform/TemplateNode.java 2005年06月30日 05:34:21.000000000 +0000 @@ -55,8 +55,14 @@ static final Comparator documentOrderComparator = new DocumentOrderComparator(); - TemplateNode children; - TemplateNode next; + final TemplateNode children; + final TemplateNode next; + + TemplateNode(TemplateNode children, TemplateNode next) + { + this.children = children; + this.next = next; + } final void apply(Stylesheet stylesheet, QName mode, Node context, int pos, int len, @@ -75,8 +81,6 @@ if (stylesheet.debug) { System.err.println("Applying " + toString()); - System.err.println("\twith context=" + context + ", pos=" + pos + - ", len=" + len); } doApply(stylesheet, mode, context, pos, len, parent, nextSibling); } @@ -88,19 +92,6 @@ abstract TemplateNode clone(Stylesheet stylesheet); - public boolean references(QName var) - { - if (children != null && children.references(var)) - { - return true; - } - if (next != null && next.references(var)) - { - return true; - } - return false; - } - /** * Debugging */

AltStyle によって変換されたページ (->オリジナル) /