1 16 17 package org.apache.axis2.wsdl.codegen.writer; 18 19 import org.apache.axis2.wsdl.util.FileWriter; 20 21 import java.io.File ; 22 import java.io.FileOutputStream ; 23 24 28 public class TestServiceXMLWriter extends ServiceXMLWriter { 29 30 public TestServiceXMLWriter(String outputFileLocation){ 31 super(outputFileLocation); 32 } 33 public TestServiceXMLWriter(File outputFileLocation,int language){ 34 super(outputFileLocation, language); 35 } 36 37 public void createOutFile(String packageName, String fileName) throws Exception { 38 File outputFile = FileWriter.createClassFile(outputFileLocation,packageName,"testservice",".xml"); 39 this.stream = new FileOutputStream (outputFile); 40 } 41 } 42 | Popular Tags |