Lines Matching refs:template
48 * The template manager is responsible for reading the attribute configuration
68 final Template template;
70 KeyAndTemplate(TemplateKey key, Template template) {
72 this.template = template;
76 // primitive templates contains the individual template configuration
80 // composite templates is a cache of the exact configuration template for
83 // primitive template entries. the result is then stored in this map
92 // add a template. Called by Config.
96 Template template = new Template(attrs);
98 System.out.println("Adding " + key + " -> " + template);
100 primitiveTemplates.add(new KeyAndTemplate(key, template));
104 Template template = compositeTemplates.get(key);
105 if (template == null) {
106 template = buildCompositeTemplate(key);
107 compositeTemplates.put(key, template);
109 return template;
118 Template template = getTemplate(key);
119 CK_ATTRIBUTE[] newAttrs = template.getAttributes(attrs);
126 // build a composite template for the given key
132 comp.add(entry.template);
139 * Nested class representing a template identifier.
185 * Nested class representing template attributes.
201 void add(Template template) {
202 attributes = getAttributes(template.attributes);