svn commit: r636946 - /xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: natalia
Date: Thu Mar 13 18:25:12 2008
New Revision: 636946

URL: http://svn.apache.org/viewvc?rev=636946&view=rev
Log:
StringUtilities -> XMLUtilities

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java?rev=636946&r1=636945&r2=636946&view=diff
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/webadmin/PartialResponse.java Thu Mar 13 18:25:12 2008
@@ -19,7 +19,7 @@
 
 package org.apache.xindice.webadmin;
 
-import org.apache.xindice.util.StringUtilities;
+import org.apache.xindice.util.XMLUtilities;
 
 import java.util.ArrayList;
 
@@ -75,7 +75,7 @@
     public String toString() {
         StringBuffer buf = new StringBuffer(1024);
         buf.append("<response>");
-        buf.append("<href>").append(StringUtilities.escapeXml(href)).append("</href>");
+        buf.append("<href>").append(XMLUtilities.escape(href)).append("</href>");
 
         if (children != null && children.size() != 0) {
             for (int i = 0; i < children.size(); i++) {
@@ -139,7 +139,7 @@
 
             buf.append("<").append(name).append(">");
             if (value != null) {
-                buf.append(StringUtilities.escapeXml(value));
+                buf.append(XMLUtilities.escape(value));
             } else if (children != null && children.size() != 0) {
                 for (int i = 0; i < children.size(); i++) {
                     buf.append(((Content) children.get(i)).getContent());
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.