org.apache.cocoon.template.script
Class Invoker

java.lang.Object
  extended byorg.apache.cocoon.template.script.Invoker

public class Invoker
extends Object

Version:
$Id: Invoker.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
Invoker()
           
 
Method Summary
static void execute(org.apache.cocoon.xml.XMLConsumer consumer, org.apache.cocoon.el.objectmodel.ObjectModel objectModel, ExecutionContext executionContext, MacroContext macroContext, org.apache.cocoon.xml.util.NamespacesTable namespaces, Event startEvent, Event endEvent)
           
static void executeDOM(org.apache.cocoon.xml.XMLConsumer consumer, Node node)
           
static void executeDOM(org.apache.cocoon.xml.XMLConsumer consumer, Node node, boolean stripRoot)
          dump a DOM document, using an IncludeXMLConsumer to filter out start/end document events
static void executeNode(org.apache.cocoon.xml.XMLConsumer consumer, Object val)
           
static void executeNode(org.apache.cocoon.xml.XMLConsumer consumer, Object val, boolean stripRoot)
           
static NodeList toDOMNodeList(String elementName, Instruction si, org.apache.cocoon.el.objectmodel.ObjectModel objectModel, ExecutionContext executionContext, MacroContext macroContext, org.apache.cocoon.xml.util.NamespacesTable namespaces)
           
 
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(org.apache.cocoon.xml.XMLConsumer consumer,
                           org.apache.cocoon.el.objectmodel.ObjectModel objectModel,
                           ExecutionContext executionContext,
                           MacroContext macroContext,
                           org.apache.cocoon.xml.util.NamespacesTable namespaces,
                           Event startEvent,
                           Event endEvent)
                    throws SAXException
Throws:
SAXException

executeNode

public static void executeNode(org.apache.cocoon.xml.XMLConsumer consumer,
                               Object val)
                        throws SAXException
Throws:
SAXException

executeNode

public static void executeNode(org.apache.cocoon.xml.XMLConsumer consumer,
                               Object val,
                               boolean stripRoot)
                        throws SAXException
Throws:
SAXException

executeDOM

public static void executeDOM(org.apache.cocoon.xml.XMLConsumer consumer,
                              Node node)
                       throws SAXException
Throws:
SAXException

executeDOM

public static void executeDOM(org.apache.cocoon.xml.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,
                                     org.apache.cocoon.el.objectmodel.ObjectModel objectModel,
                                     ExecutionContext executionContext,
                                     MacroContext macroContext,
                                     org.apache.cocoon.xml.util.NamespacesTable namespaces)
                              throws SAXException
Throws:
SAXException


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