/[classpath]/classpath/gnu/xml/transform/ProcessingInstructionNode.java
ViewVC logotype

Diff of /classpath/gnu/xml/transform/ProcessingInstructionNode.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mark, Thu Dec 23 22:38:44 2004 UTC revision 1.2 by dog, Thu Jun 30 22:09:07 2005 UTC
# Line 57  final class ProcessingInstructionNode Line 57  final class ProcessingInstructionNode
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,

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26