org.xwt
Class Template
java.lang.Object
org.xwt.Template
- public class Template
- extends java.lang.Object
Encapsulates a template node (the <template/> element of a
.xwt file, or any child element thereof).
Note that the Template instance corresponding to the
<template/> node carries all the header information -- hence
some of the instance members are not meaningful on non-root
Template instances. We refer to these non-root instances as
anonymous templates.
See the XWT reference for information on the order in which
templates are applied, attributes are put, and scripts are run.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTemplate
public static Template getTemplate(Res r)
resolveStringToResource
public static Res resolveStringToResource(java.lang.String str,
XWT xwt,
boolean permitAbsolute)