当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
TemplateBuilder - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.format.template
Class TemplateBuilder
java.lang.Object
org.jboss.portal.format.template.TemplateBuilder
- public class TemplateBuilder
- extends java.lang.Object
- Author:
- Julien Viet
Constructor Summary |
TemplateBuilder(javassist.ClassPool pool,
org.dom4j.Document doc,
java.util.Set names)
|
TemplateBuilder(javassist.ClassPool pool,
org.dom4j.Element node,
java.util.Set names)
|
TemplateBuilder(org.dom4j.Document doc,
java.util.Set propertyNames)
|
TemplateBuilder(org.dom4j.Element node,
java.util.Set propertyNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT
private static final java.lang.String CONTEXT
ITERATOR
private static final java.lang.String ITERATOR
pool
private final javassist.ClassPool pool
node
private final org.dom4j.Element node
index
private final int index
log
private final org.apache.log4j.Logger log
propertyNames
private final java.util.Set propertyNames
cc
private javassist.CtClass cc
classNameCounter
public static int classNameCounter
TemplateBuilder
public TemplateBuilder(org.dom4j.Document doc,
java.util.Set propertyNames)
TemplateBuilder
public TemplateBuilder(org.dom4j.Element node,
java.util.Set propertyNames)
TemplateBuilder
public TemplateBuilder(javassist.ClassPool pool,
org.dom4j.Document doc,
java.util.Set names)
TemplateBuilder
public TemplateBuilder(javassist.ClassPool pool,
org.dom4j.Element node,
java.util.Set names)
getGeneratedClass
public javassist.CtClass getGeneratedClass()
build
public void build()
throws BuildException
- Throws:
BuildException
addConstructor
private void addConstructor()
throws javassist.CannotCompileException,
javassist.NotFoundException
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
implementRender
private void implementRender()
throws javassist.CannotCompileException,
javassist.NotFoundException
- Throws:
javassist.CannotCompileException
javassist.NotFoundException
generateRender
private void generateRender(java.util.LinkedList stack,
java.lang.StringBuffer buffer,
java.lang.String indent,
org.dom4j.Element node)