当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
TemplateLoader - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.format.template
Class TemplateLoader
java.lang.Object
org.jboss.portal.format.template.TemplateRepository
org.jboss.portal.format.template.TemplateLoader
- public class TemplateLoader
- extends TemplateRepository
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateLoader
public TemplateLoader(Loader loader)
getLoader
public Loader getLoader()
setLoader
public void setLoader(Loader loader)
addTemplate
public void addTemplate(java.lang.String name,
java.lang.String loadName)
throws BuildException
- Throws:
BuildException
addTemplate
public void addTemplate(java.lang.String name,
java.lang.String loadName,
java.util.Set names)
throws BuildException
- Throws:
BuildException
loadTemplate
public org.dom4j.Document loadTemplate(java.lang.String name)
throws BuildException
- Simply loads a template and returns it.
- Throws:
BuildException
create
public static TemplateLoader create(java.lang.ClassLoader cl,
java.lang.String base)