org.norther.tammi.spray.engine.content
Class ContentProcessingEvent
java.lang.Object
java.util.EventObject
org.norther.tammi.spray.engine.content.ContentProcessingEvent
- All Implemented Interfaces:
- Serializable
public class ContentProcessingEvent
- extends EventObject
Events of this type are sent to a content object that implements the
ContentProcessingListener interface when its processing starts
or ends.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
ContentProcessingEvent
public ContentProcessingEvent(Content content,
Writer writer,
String name,
String encoding)
- Constructs a new event.
- Parameters:
content - the content.writer - the writer.name - the content name.encoding - the content encoding.
getWriter
public Writer getWriter()
- Gets the content writer.
- Returns:
- the content writer.
getName
public String getName()
- Gets the content name.
- Returns:
- the content name.
getEncoding
public String getEncoding()
- Gets the content encoding.
- Returns:
- the content encoding.
Copyright © 2004 The Norther Organization. All rights reserved.