| org.apache.cocoon.generation.AbstractGenerator org.apache.cocoon.generation.ComposerGenerator org.apache.cocoon.generation.ServletGenerator org.apache.cocoon.generation.AbstractServerPage
All known Subclasses: org.apache.cocoon.components.language.markup.xsp.XSPGenerator,
dateCreated | protected long dateCreated(Code) | | The creation date
|
dependencies | protected File[] dependencies(Code) | | The dependency file list
|
attribute | protected void attribute(AttributesImpl attr, String name, String value)(Code) | | Add an attribute
Parameters: attr - The attribute list to add to Parameters: name - The attribute name Parameters: value - The attribute value |
characters | protected void characters(String data) throws SAXException(Code) | | Add character data
Parameters: data - The character data |
generateKey | public long generateKey()(Code) | | Generates the unique key.
This key must be unique inside the space of this component.
Users may override this method to take
advantage of SAX event cacheing
A long representing the cache key (defaults to not cachable) |
generateValidity | public CacheValidity generateValidity()(Code) | | Generate the validity object.
The generated validity object, NOPCacheValidity is the default if hasContentChange() gives false otherwisenull will be returned. |
getKey | public Serializable getKey()(Code) | | Generate the unique key.
This key must be unique inside the space of this component.
This method must be invoked before the generateValidity() method.
The generated key or null if the componentis currently not cacheable. |
getValidity | public SourceValidity getValidity()(Code) | | Generate the validity object.
Before this method can be invoked the generateKey() method
must be invoked.
The generated validity object, NOPCacheValidity is the default if hasContentChange() gives false otherwisenull will be returned. |
hasContentChanged | public boolean hasContentChanged(Request request)(Code) | | Determines whether generated content has changed since
last invocation. Users may override this method to take
advantage of SAX event cacheing
Parameters: request - The request whose data must be inspected to assert whetherdynamically generated content has changed Whether content has changes for this request's data |
modifiedSince | public boolean modifiedSince(long date)(Code) | | Determines whether this generator's source files have changed
Whether any of the files this generator depends on has changedsince it was created |
recompose | public void recompose(ComponentManager manager) throws ComponentException(Code) | | Recompose with the actual ComponentManager that should
be used.
|
Fields inherited from org.apache.cocoon.generation.ComposerGenerator | protected ComponentManager manager(Code)(Java Doc)
|
Methods inherited from org.apache.cocoon.generation.ComposerGenerator | public void compose(ComponentManager manager) throws ComponentException(Code)(Java Doc) public void dispose()(Code)(Java Doc)
|
|
|