| java.lang.Object javanet.staxutils.helpers.ListEventConsumer
Method Summary | |
public void | add(XMLEvent event) Adds the event to the internal list. | public List | getEvents() Returns the
List of events added to this consumer. | public void | reset() Removes all events from the internal list, making it available for reuse. | public void | setEvents(List events) Sets the
List to which events will be written. |
ListEventConsumer | public ListEventConsumer()(Code) | | |
ListEventConsumer | public ListEventConsumer(List events)(Code) | | Constructs an instance that adds events to the provided list.
Parameters: events - The list to which events will be added, or null . |
getEvents | public List getEvents()(Code) | | Returns the
List of events added to this consumer.
The List of events added to this consumer. |
reset | public void reset()(Code) | | Removes all events from the internal list, making it available for reuse.
|
setEvents | public void setEvents(List events)(Code) | | Sets the
List to which events will be written.
Parameters: events - The List to which events will be written. |
|
|