net.anotheria.anosite.gen.asresourcedata.data.TextResourceFactory Maven / Gradle / Ivy
/**
********************************************************************************
*** TextResourceFactory.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.asresourcedata.data;
public class TextResourceFactory{
public static TextResource createTextResource(TextResource template){
return new TextResourceDocument((TextResourceDocument)template);
}
public static TextResource createTextResource(){
return new TextResourceDocument("");
}
static TextResource createTextResource(TextResourceBuilder builder){
return new TextResourceDocument(builder);
}
public static TextResource createTextResourceForImport(String anId){
return new TextResourceDocument(anId);
}
/**
* For internal use only!
*/
public static TextResource createTextResource(String anId){
return new TextResourceDocument(anId);
}
}