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

Diff of /classpath/gnu/xml/transform/CommentNode.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 54  final class CommentNode Line 54  final class CommentNode
54    extends TemplateNode    extends TemplateNode
55  {  {
56    
   CommentNode(TemplateNode children, TemplateNode next)  
   {  
     super(children, next);  
   }  
   
57    TemplateNode clone(Stylesheet stylesheet)    TemplateNode clone(Stylesheet stylesheet)
58    {    {
59      return new CommentNode((children == null) ? null :      TemplateNode ret = new CommentNode();
60                             children.clone(stylesheet),      if (children != null)
61                             (next == null) ? null :        {
62                             next.clone(stylesheet));          ret.children = children.clone(stylesheet);
63          }
64        if (next != null)
65          {
66            ret.next = next.clone(stylesheet);
67          }
68        return ret;
69    }    }
70    
71    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