*/
public XmlEvent getSaxUriLocalEvent(
int eventType, int uriIndex, String localName,
- ArrayXmlEventsBuffer buffer)
+ XmlEventsArrayBuffer buffer)
throws FOPException
{
XmlEvent ev = source.getEvent();
! (ev.type == eventType
&& ev.uriIndex == uriIndex
&& ev.localName.equals(localName))) {
- buffer.pushEvent(ev);
+ buffer.addEvent(ev);
ev = source.getEvent();
}
if (ev == null)
*/
public XmlEvent getSaxUriTypedEvent(
int eventType, int uriIndex, int nsType,
- ArrayXmlEventsBuffer buffer)
+ XmlEventsArrayBuffer buffer)
throws FOPException {
XmlEvent ev = source.getEvent();
while (ev != null) {
break;
}
}
- buffer.pushEvent(ev);
+ buffer.addEvent(ev);
ev = source.getEvent();
}
throw new NoSuchElementException
* @exception NoSuchElementException if the event is not found.
*/
public XmlEvent getSaxFoEvent(
- int eventType, int foType, ArrayXmlEventsBuffer buffer)
+ int eventType, int foType, XmlEventsArrayBuffer buffer)
throws FOPException
{
return getSaxUriTypedEvent(
* Get the next ENDELEMENT event, with the same URI index and local name
* as the <tt>XmlEvent</tt> argument, from the buffer.
* Place references to all intervening events in the provided
- * <code>ArrayXmlEventsBuffer</code>.
+ * <code>XmlEventsArrayBuffer</code>.
* @param buffer into which to copy the events
* @param discardEvent the argument event may be discarded.
* @param event an <tt>XmlEvent</tt>. Only the uriIndex and the
* @exception NoSuchElementException if the event is not found
*/
public XmlEvent getEndElement(
- ArrayXmlEventsBuffer buffer, boolean discardEvent, XmlEvent event)
+ XmlEventsArrayBuffer buffer, boolean discardEvent, XmlEvent event)
throws FOPException
{
XmlEvent ev;