Browse Source

XMLEventPool renamed to XmlEventPool


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197198 13f79535-47bb-0310-9956-ffa450edef68
tags/Alt-Design_pre_awt_renderer_import
Peter Bernard West 20 years ago
parent
commit
c5a547f20f

src/java/org/apache/fop/pool/XMLEventPool.java → src/java/org/apache/fop/pool/XmlEventPool.java View File

@@ -59,7 +59,7 @@ import org.apache.fop.xml.XmlEvent;
* This class provides a pool of <tt>XmlEvent</tt> objects.
*/

public class XMLEventPool extends FopPool {
public class XmlEventPool extends FopPool {

private static final String tag = "$Name$";
private static final String revision = "$Revision$";
@@ -69,14 +69,14 @@ public class XMLEventPool extends FopPool {
/**
* The zero-argument constructor
*/
public XMLEventPool() {
public XmlEventPool() {
}
/**
* Construct a pool with a given initial size.
* @param initialSize - the initial size of the pool.
*/
public XMLEventPool(int initialSize) {
public XmlEventPool(int initialSize) {
super(initialSize);
}


+ 7
- 7
src/java/org/apache/fop/xml/Namespaces.java View File

@@ -58,7 +58,7 @@ import org.apache.fop.pool.*;
* One instance of <i>Namespaces</i> is maintained across all documents
* that may be processed in a single invocation of <tt>XMLSerialhandler</tt>.
* A reference to that instance is kept with every instance of <tt>XmlEvent</tt>.
* An <code>XMLEventPool</code> pool of event objects is maintained for every
* An <code>XmlEventPool</code> pool of event objects is maintained for every
* namesapce encountered in parsing. The pool for the
* http://www.w3.org/1999/XSL/Format (XSL_FO) namespace is created immediately;
* other pools are created only as elements from a particular namespace are
@@ -120,12 +120,12 @@ public class Namespaces {
{ DefAttrNSpace, XSLNamespace, FOXNamespace, SVGNamespace };

/**
* An array of <code>XMLEventPool</code>s. This ArrayList is indexed by
* An array of <code>XmlEventPool</code>s. This ArrayList is indexed by
* the namespace index used in this <code>Namespaces</code> object.
* This allows for the maintenance of individual event pools for each
* namespace active in the current document.
*/
private XMLEventPool[] pools = new XMLEventPool[LAST_NS_INDEX + 1];
private XmlEventPool[] pools = new XmlEventPool[LAST_NS_INDEX + 1];
/**
* The pool for <code>UriLocalName</code> objects.
@@ -182,13 +182,13 @@ public class Namespaces {
nsSequences[i] = 0;
}
pools[DefAttrNSIndex] =
new XMLEventPool(INITIAL_DEF_ATTR_NS_POOL_SIZE);
new XmlEventPool(INITIAL_DEF_ATTR_NS_POOL_SIZE);
pools[XSLNSpaceIndex] =
new XMLEventPool(INITIAL_XSL_NS_POOL_SIZE);
new XmlEventPool(INITIAL_XSL_NS_POOL_SIZE);
pools[FOXNSpaceIndex] =
new XMLEventPool(INITIAL_FOX_NS_POOL_SIZE);
new XmlEventPool(INITIAL_FOX_NS_POOL_SIZE);
pools[SVGNSpaceIndex] =
new XMLEventPool(INITIAL_SVG_NS_POOL_SIZE);
new XmlEventPool(INITIAL_SVG_NS_POOL_SIZE);
uriLocalNamePool = new UriLocalNamePool(BUFFER_SIZE);
}

Loading…
Cancel
Save