org.xwt
Class Template

java.lang.Object
  extended byorg.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.


Method Summary
static Template getTemplate(Res r)
           
static Res resolveStringToResource(java.lang.String str, XWT xwt, boolean permitAbsolute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTemplate

public static Template getTemplate(Res r)

resolveStringToResource

public static Res resolveStringToResource(java.lang.String str,
                                          XWT xwt,
                                          boolean permitAbsolute)