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

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