org.jopendocument.dom.template.statements
Class SetStmt

java.lang.Object
  extended by org.jopendocument.dom.template.statements.Statement
      extended by org.jopendocument.dom.template.statements.BaseStatement
          extended by org.jopendocument.dom.template.statements.SetStmt

public class SetStmt
extends BaseStatement


Field Summary
 
Fields inherited from class org.jopendocument.dom.template.statements.Statement
stmtNS
 
Constructor Summary
SetStmt()
           
 
Method Summary
 void execute(Processor<?> processor, org.jdom.Element tag, DataModel model)
          Should produce valid OpenDocument XML.
 void prepare(org.jdom.Element script, org.jdom.Element command)
           
 
Methods inherited from class org.jopendocument.dom.template.statements.BaseStatement
matches, prepare, removeSection, setScriptLang
 
Methods inherited from class org.jopendocument.dom.template.statements.Statement
getAncestorByName, getElement, getName, pullUp, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetStmt

public SetStmt()
Method Detail

prepare

public void prepare(org.jdom.Element script,
                    org.jdom.Element command)
             throws TemplateException
Specified by:
prepare in class BaseStatement
Throws:
TemplateException

execute

public void execute(Processor<?> processor,
                    org.jdom.Element tag,
                    DataModel model)
             throws TemplateException
Description copied from class: Statement
Should produce valid OpenDocument XML.

Specified by:
execute in class Statement
Parameters:
processor - the processor.
tag - an element that has been prepared.
model - the data.
Throws:
TemplateException


Copyright © 2010 jOpenDocument All Rights Reserved.