pbwest 2004/01/20 22:58:24
Modified: src/java/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XmlEventReader.java
Log:
ArrayXmlEventsBuffer renamed to XmlEventsArrayBuffer.
Method pushEvent renames to addEvent.
Revision Changes Path
No revision
No revision
1.1.2.3 +9 -9 xml-fop/src/java/org/apache/fop/xml/Attic/XmlEventReader.java
Index: XmlEventReader.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/xml/Attic/XmlEventReader.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- XmlEventReader.java 20 Jan 2004 07:14:39 -0000 1.1.2.2
+++ XmlEventReader.java 21 Jan 2004 06:58:24 -0000 1.1.2.3
@@ -172,7 +172,7 @@
*/
public XmlEvent getSaxUriLocalEvent(
int eventType, int uriIndex, String localName,
- ArrayXmlEventsBuffer buffer)
+ XmlEventsArrayBuffer buffer)
throws FOPException
{
XmlEvent ev = source.getEvent();
@@ -180,7 +180,7 @@
! (ev.type == eventType
&& ev.uriIndex == uriIndex
&& ev.localName.equals(localName))) {
- buffer.pushEvent(ev);
+ buffer.addEvent(ev);
ev = source.getEvent();
}
if (ev == null)
@@ -254,7 +254,7 @@
*/
public XmlEvent getSaxUriTypedEvent(
int eventType, int uriIndex, int nsType,
- ArrayXmlEventsBuffer buffer)
+ XmlEventsArrayBuffer buffer)
throws FOPException {
XmlEvent ev = source.getEvent();
while (ev != null) {
@@ -283,7 +283,7 @@
break;
}
}
- buffer.pushEvent(ev);
+ buffer.addEvent(ev);
ev = source.getEvent();
}
throw new NoSuchElementException
@@ -320,7 +320,7 @@
* @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(
@@ -1255,7 +1255,7 @@
* 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
@@ -1266,7 +1266,7 @@
* @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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]