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

java.lang.Object
  extended by org.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 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  Locator location
           
protected  Event next
           
static Locator NULL_LOCATOR
           
 
Constructor Summary
Event(Locator locator)
           
 
Method Summary
 Event execute(XMLConsumer consumer, ExpressionContext expressionContext, ExecutionContext executionContext, MacroContext macroContext, 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(XMLConsumer consumer,
                     ExpressionContext expressionContext,
                     ExecutionContext executionContext,
                     MacroContext macroContext,
                     Event startEvent,
                     Event endEvent)
              throws SAXException
Throws:
SAXException


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