org.apache.cocoon.template.script
Class Invoker

java.lang.Object
  extended by org.apache.cocoon.template.script.Invoker

public class Invoker
extends Object

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

Constructor Summary
Invoker()
           
 
Method Summary
static void execute(XMLConsumer consumer, ExpressionContext expressionContext, ExecutionContext executionContext, MacroContext macroContext, Event startEvent, Event endEvent)
           
static void executeDOM(XMLConsumer consumer, Node node)
           
static void executeDOM(XMLConsumer consumer, Node node, boolean stripRoot)
          dump a DOM document, using an IncludeXMLConsumer to filter out start/end document events
static void executeNode(XMLConsumer consumer, Object val)
           
static void executeNode(XMLConsumer consumer, Object val, boolean stripRoot)
           
static NodeList toDOMNodeList(String elementName, Instruction si, ExpressionContext expressionContext, ExecutionContext executionContext, MacroContext macroContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Invoker

public Invoker()
Method Detail

execute

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

executeNode

public static void executeNode(XMLConsumer consumer,
                               Object val)
                        throws SAXException
Throws:
SAXException

executeNode

public static void executeNode(XMLConsumer consumer,
                               Object val,
                               boolean stripRoot)
                        throws SAXException
Throws:
SAXException

executeDOM

public static void executeDOM(XMLConsumer consumer,
                              Node node)
                       throws SAXException
Throws:
SAXException

executeDOM

public static void executeDOM(XMLConsumer consumer,
                              Node node,
                              boolean stripRoot)
                       throws SAXException
dump a DOM document, using an IncludeXMLConsumer to filter out start/end document events

Throws:
SAXException

toDOMNodeList

public static NodeList toDOMNodeList(String elementName,
                                     Instruction si,
                                     ExpressionContext expressionContext,
                                     ExecutionContext executionContext,
                                     MacroContext macroContext)
                              throws SAXException
Throws:
SAXException


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