1 package org.enhydra.kelp.ant.node; 2 3 import org.enhydra.kelp.common.node.*; 4 5 6 14 15 public class AntNodeFactory extends OtterNodeFactory { 16 17 public AntNodeFactory() { 18 } 19 public OtterTemplateNode getTemplateNode(OtterNode node) { 20 21 return null; } 23 public OtterFolderNode createFolderNode(OtterNode node, String name) { 24 OtterFolderNode newNode = null; 25 newNode = new AntFolderNode(node, name); 26 return newNode; 27 } 28 public OtterJavaFileNode[] replaceGeneratedSource(OtterProject parm1, OtterNode parm2, String [] parm3) { 29 30 return null; } 32 public OtterTextFileNode createTextFileNode(OtterNode node, String fileName) { 33 OtterTextFileNode newNode = null; 34 newNode = new AntTextFileNode(node, fileName); 35 return newNode; 36 } 37 public OtterImageFileNode createImageFileNode(OtterNode node, String fileName) { 38 39 return null; } 41 public OtterTemplateNode createTemplateNode(OtterNode node, String fileName) { 42 43 return null; } 45 public OtterJavaFileNode createJavaFileNode(OtterNode node, String fileName) { 46 47 return null; } 49 55 public OtterDocumentNode createDocumentNode(OtterNode node, String fileName) { 56 OtterDocumentNode newNode = null; 57 newNode = new AntDocumentNode(node, fileName); 58 return newNode; 59 } 60 } | Popular Tags |