AntNodeFactory.java :  » J2EE » enhydra-IDE-plugin » org » enhydra » kelp » ant » node » Java Open Source

Java Open Source » J2EE » enhydra IDE plugin 
enhydra IDE plugin » org » enhydra » kelp » ant » node » AntNodeFactory.java
package org.enhydra.kelp.ant.node;

import org.enhydra.kelp.common.node.*;


/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class AntNodeFactory extends OtterNodeFactory {

  public AntNodeFactory() {
  }
  public OtterTemplateNode getTemplateNode(OtterNode node) {
    /**@todo: implement this org.enhydra.kelp.common.node.OtterNodeFactory abstract method*/
    return null; //FIXME
  }
  public OtterFolderNode createFolderNode(OtterNode node, String name) {
    OtterFolderNode newNode = null;
    newNode = new AntFolderNode(node, name);
    return newNode;
  }
  public OtterJavaFileNode[] replaceGeneratedSource(OtterProject parm1, OtterNode parm2, String[] parm3) {
    /**@todo: implement this org.enhydra.kelp.common.node.OtterNodeFactory abstract method*/
     return null; //FIXME
  }
  public OtterTextFileNode createTextFileNode(OtterNode node, String fileName) {
    OtterTextFileNode newNode = null;
    newNode = new AntTextFileNode(node, fileName);
    return newNode;
  }
  public OtterImageFileNode createImageFileNode(OtterNode node, String fileName) {
    /**@todo: implement this org.enhydra.kelp.common.node.OtterNodeFactory abstract method*/
     return null; //FIXME
  }
  public OtterTemplateNode createTemplateNode(OtterNode node, String fileName) {
    /**@todo: implement this org.enhydra.kelp.common.node.OtterNodeFactory abstract method*/
     return null; //FIXME
  }
  public OtterJavaFileNode createJavaFileNode(OtterNode node, String fileName) {
    /**@todo: implement this org.enhydra.kelp.common.node.OtterNodeFactory abstract method*/
     return null; //FIXME
  }
  /**
   * Creates Document node(representation of HTML,WML,XHTML from file.
   * @param node parent node
   * @param fileName file name
   * @return
   */
  public OtterDocumentNode createDocumentNode(OtterNode node, String fileName) {
    OtterDocumentNode newNode = null;
    newNode = new AntDocumentNode(node, fileName);
    return newNode;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.