net.anotheria.anosite.gen.asfeature.data.FeatureFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** FeatureFactory.java ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.asfeature.data;
public class FeatureFactory{
public static Feature createFeature(Feature template){
return new FeatureDocument((FeatureDocument)template);
}
public static Feature createFeature(){
return new FeatureDocument("");
}
static Feature createFeature(FeatureBuilder builder){
return new FeatureDocument(builder);
}
public static Feature createFeatureForImport(String anId){
return new FeatureDocument(anId);
}
/**
* For internal use only!
*/
public static Feature createFeature(String anId){
return new FeatureDocument(anId);
}
}