pbwest 2002/10/24 07:34:31
Modified: src/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XMLEvent.java
Log:
Added XMLEvent(int,String,XMLNamespaces) constructor.
Revision Changes Path
No revision
No revision
1.1.2.6 +11 -3 xml-fop/src/org/apache/fop/xml/Attic/XMLEvent.java
Index: XMLEvent.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/xml/Attic/XMLEvent.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- XMLEvent.java 19 Oct 2002 03:05:42 -0000 1.1.2.5
+++ XMLEvent.java 24 Oct 2002 14:34:31 -0000 1.1.2.6
@@ -107,6 +107,12 @@
namespaces = ev.namespaces;
}
+ public XMLEvent(int type, String chars, XMLNamespaces namespaces) {
+ this.type = type;
+ this.chars = chars;
+ this.namespaces = namespaces;
+ }
+
public int getType() { return type; }
public void setType(int type) {
if (type < MIN_XML_EV_TYPE || type > MAX_XML_EV_TYPE) {
@@ -117,9 +123,11 @@
}
public String getChars() { return chars; }
+
public void setChars(String chars) {
this.chars = chars;
}
+
public void setChars(char[] ch, int start, int length) {
chars = new String(ch, start, length);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]