org.apache.cocoon.template.script.event
Class Event

java.lang.Object
  extended byorg.apache.cocoon.template.script.event.Event
Direct Known Subclasses:
EndCDATA, EndDocument, EndDTD, EndElement, EndEntity, EndInstruction, EndPrefixMapping, Instruction, ProcessingInstruction, SkippedEntity, StartCDATA, StartDocument, StartDTD, StartElement, StartEntity, StartPrefixMapping, TextEvent

public class Event
extends Object

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

Field Summary
protected  Locator location
           
protected  Event next
           
static Locator NULL_LOCATOR
           
 
Constructor Summary
Event(Locator locator)
           
 
Method Summary
 Event 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)
           
 Locator getLocation()
           
 Event getNext()
           
 String locationString()
           
 void setNext(Event next)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected final Locator location

next

protected Event next

NULL_LOCATOR

public static final Locator NULL_LOCATOR
Constructor Detail

Event

public Event(Locator locator)
Method Detail

getLocation

public final Locator getLocation()

getNext

public Event getNext()

setNext

public void setNext(Event next)

locationString

public String locationString()

execute

public Event 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


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