org.oXML.engine.template
Class ProgramTemplate

java.lang.Object
  extended byorg.oXML.engine.template.ProgramTemplate
All Implemented Interfaces:
Template

public class ProgramTemplate
extends java.lang.Object
implements Template


Constructor Summary
ProgramTemplate(Parameter[] params, Template body, java.lang.String contenttype)
           
 
Method Summary
 java.lang.String getContentType()
           
 Node getParameter(Name name)
           
 Name[] getParameterNames()
           
 Parameter[] getParameters()
           
 void process(RuntimeContext env)
           
 void setParameter(Name name, Node value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgramTemplate

public ProgramTemplate(Parameter[] params,
                       Template body,
                       java.lang.String contenttype)
Method Detail

getContentType

public java.lang.String getContentType()

getParameters

public Parameter[] getParameters()

getParameterNames

public Name[] getParameterNames()

getParameter

public Node getParameter(Name name)

setParameter

public void setParameter(Name name,
                         Node value)
                  throws ObjectBoxException
Throws:
ObjectBoxException

process

public void process(RuntimeContext env)
             throws ObjectBoxException
Specified by:
process in interface Template
Throws:
ObjectBoxException