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

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

public class StartDocument
extends Event

Version:
SVN $Id: StartDocument.html 1304258 2012-03-23 10:09:27Z 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(XMLConsumer consumer, ExpressionContext expressionContext, ExecutionContext executionContext, MacroContext macroContext, 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(XMLConsumer consumer,
                     ExpressionContext expressionContext,
                     ExecutionContext executionContext,
                     MacroContext macroContext,
                     Event startEvent,
                     Event endEvent)
              throws SAXException
Overrides:
execute in class Event
Throws:
SAXException


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