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

java.lang.Object
  extended byorg.apache.cocoon.template.script.event.Event
      extended byorg.apache.cocoon.template.script.event.StartDocument

public class StartDocument
extends Event

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

Field Summary
 
Fields inherited from class org.apache.cocoon.template.script.event.Event
location, next, NULL_LOCATOR
 
Constructor Summary
StartDocument(Locator location)
           
 
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)
           
 EndDocument getEndDocument()
           
 SourceValidity getSourceValidity()
           
 Map getTemplateProperties()
           
 Object getTemplateProperty(String name)
           
 String getUri()
           
 void setEndDocument(EndDocument endDoc)
           
 void setSourceValidity(SourceValidity sourceValidity)
           
 void setUri(String uri)
           
 
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

StartDocument

public StartDocument(Locator location)
Method Detail

getEndDocument

public EndDocument getEndDocument()

setEndDocument

public void setEndDocument(EndDocument endDoc)

getTemplateProperties

public Map getTemplateProperties()

getUri

public String getUri()

setUri

public void setUri(String uri)

setSourceValidity

public void setSourceValidity(SourceValidity sourceValidity)
Parameters:
sourceValidity - The compileTime to set.

getSourceValidity

public SourceValidity getSourceValidity()
Returns:
Returns the compileTime.

getTemplateProperty

public Object getTemplateProperty(String name)
Parameters:
name -

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
Overrides:
execute in class Event
Throws:
SAXException


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