public class Template
extends java.lang.Object
Constructor and Description |
---|
Template() |
Template(java.lang.String name,
java.lang.String templateMarkup) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
the name of the template
|
java.lang.String |
getTemplateContent()
The content of the template as it should be included in the document.
|
java.lang.String |
getTemplateMarkup()
the substitution content of the template
|
void |
setName(java.lang.String name)
the name of the template
|
void |
setTemplateMarkup(java.lang.String templateMarkup)
the substitution content of the template
|
public Template()
public Template(java.lang.String name, java.lang.String templateMarkup)
name
- the name of the templatetemplateMarkup
- the substitution content of the templatepublic java.lang.String getTemplateMarkup()
public void setTemplateMarkup(java.lang.String templateMarkup)
public java.lang.String getTemplateContent()
getTemplateMarkup()
. Templates that produce dynamically generated content should override this method.public java.lang.String getName()
public void setName(java.lang.String name)
Copyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html