org.apache.cocoon.template.instruction
Class Call

java.lang.Object
  extended by org.apache.cocoon.template.script.event.Event
      extended by org.apache.cocoon.template.instruction.Instruction
          extended by org.apache.cocoon.template.instruction.Call

public class Call
extends Instruction

Version:
$Id: Call.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.template.instruction.Instruction
startElement
 
Fields inherited from class org.apache.cocoon.template.script.event.Event
location, next, NULL_LOCATOR
 
Constructor Summary
Call(Define definition, StartElement startElement)
           
Call(ParsingContext parsingContext, StartElement raw, Attributes attrs, Stack stack)
           
 
Method Summary
 void addParameterInstance(AttributeEvent attributeEvent)
           
 void endNotify()
           
 Event execute(XMLConsumer consumer, ExpressionContext expressionContext, ExecutionContext executionContext, MacroContext macroContext, Event startEvent, Event endEvent)
           
 void setBody(Event body)
           
 void setDefinition(Define definition)
           
 
Methods inherited from class org.apache.cocoon.template.instruction.Instruction
getEndInstruction, getStartElement, setEndInstruction
 
Methods inherited from class org.apache.cocoon.template.script.event.Event
getLocation, getNext, locationString, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Call

public Call(Define definition,
            StartElement startElement)
     throws SAXException
Throws:
SAXException

Call

public Call(ParsingContext parsingContext,
            StartElement raw,
            Attributes attrs,
            Stack stack)
     throws SAXException
Throws:
SAXException
Method Detail

setDefinition

public void setDefinition(Define definition)

addParameterInstance

public void addParameterInstance(AttributeEvent attributeEvent)
                          throws SAXException
Throws:
SAXException

execute

public Event execute(XMLConsumer consumer,
                     ExpressionContext expressionContext,
                     ExecutionContext executionContext,
                     MacroContext macroContext,
                     Event startEvent,
                     Event endEvent)
              throws SAXException
Overrides:
execute in class Event
Throws:
SAXException

setBody

public void setBody(Event body)
Parameters:
body -

endNotify

public void endNotify()
               throws SAXException
Overrides:
endNotify in class Instruction
Throws:
SAXException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.