本文整理了Java中freemarker.core.Environment.popElement()
方法的一些代码示例,展示了Environment.popElement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Environment.popElement()
方法的具体详情如下:
包路径:freemarker.core.Environment
类名称:Environment
方法名:popElement
暂无
代码示例来源:origin: org.freemarker/freemarker
/**
* "Visit" the template element.
*/
void visit(TemplateElement element) throws IOException, TemplateException {
// ATTENTION: This method body is manually "inlined" into visit(TemplateElement[]); keep them in sync!
pushElement(element);
try {
TemplateElement[] templateElementsToVisit = element.accept(this);
if (templateElementsToVisit != null) {
for (TemplateElement el : templateElementsToVisit) {
if (el == null) {
break; // Skip unused trailing buffer capacity
}
visit(el);
}
}
} catch (TemplateException te) {
handleTemplateException(te);
} finally {
popElement();
}
// ATTENTION: This method body above is manually "inlined" into visit(TemplateElement[]); keep them in sync!
}
代码示例来源:origin: org.freemarker/freemarker
handleTemplateException(te);
} finally {
popElement();
代码示例来源:origin: org.freemarker/freemarker
popElement();
代码示例来源:origin: org.freemarker/com.springsource.freemarker
/**
* "Visit" the template element.
*/
void visit(TemplateElement element)
throws TemplateException, IOException
{
pushElement(element);
try {
element.accept(this);
}
catch (TemplateException te) {
handleTemplateException(te);
}
finally {
popElement();
}
}
代码示例来源:origin: org.freemarker/freemarker-gae
/**
* "Visit" the template element.
*/
void visit(TemplateElement element) throws IOException, TemplateException {
// ATTENTION: This method body is manually "inlined" into visit(TemplateElement[]); keep them in sync!
pushElement(element);
try {
TemplateElement[] templateElementsToVisit = element.accept(this);
if (templateElementsToVisit != null) {
for (TemplateElement el : templateElementsToVisit) {
if (el == null) {
break; // Skip unused trailing buffer capacity
}
visit(el);
}
}
} catch (TemplateException te) {
handleTemplateException(te);
} finally {
popElement();
}
// ATTENTION: This method body above is manually "inlined" into visit(TemplateElement[]); keep them in sync!
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
/**
* "Visit" the template element.
*/
void visit(TemplateElement element) throws IOException, TemplateException {
// ATTENTION: This method body is manually "inlined" into visit(TemplateElement[]); keep them in sync!
pushElement(element);
try {
TemplateElement[] templateElementsToVisit = element.accept(this);
if (templateElementsToVisit != null) {
for (TemplateElement el : templateElementsToVisit) {
if (el == null) {
break; // Skip unused trailing buffer capacity
}
visit(el);
}
}
} catch (TemplateException te) {
handleTemplateException(te);
} finally {
popElement();
}
// ATTENTION: This method body above is manually "inlined" into visit(TemplateElement[]); keep them in sync!
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
handleTemplateException(te);
} finally {
popElement();
代码示例来源:origin: org.freemarker/freemarker-gae
handleTemplateException(te);
} finally {
popElement();
代码示例来源:origin: org.freemarker/freemarker-gae
popElement();
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.freemarker
popElement();
代码示例来源:origin: org.freemarker/com.springsource.freemarker
popElement();
内容来源于网络,如有侵权,请联系作者删除!