| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:23 PDT 2006 --> |
| 6 |
<TITLE> |
| 7 |
XMLUtils (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="org.apache.axis.utils.XMLUtils class"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
parent.document.title="XMLUtils (Axis API)"; |
| 18 |
} |
| 19 |
</SCRIPT> |
| 20 |
|
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
| 24 |
|
| 25 |
|
| 26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
| 27 |
<A NAME="navbar_top"><!-- --></A> |
| 28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 30 |
<TR> |
| 31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
| 33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 34 |
<TR ALIGN="center" VALIGN="top"> |
| 35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 43 |
</TR> |
| 44 |
</TABLE> |
| 45 |
</TD> |
| 46 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 47 |
</EM> |
| 48 |
</TD> |
| 49 |
</TR> |
| 50 |
|
| 51 |
<TR> |
| 52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 53 |
<A HREF="../../../../org/apache/axis/utils/XMLChar.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| 54 |
<A HREF="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| 55 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 56 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| 57 |
<A HREF="XMLUtils.html" target="_top"><B>NO FRAMES</B></A> |
| 58 |
<SCRIPT type="text/javascript"> |
| 59 |
<!-- |
| 60 |
if(window==top) { |
| 61 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 62 |
} |
| 63 |
//--> |
| 64 |
</SCRIPT> |
| 65 |
<NOSCRIPT> |
| 66 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 67 |
</NOSCRIPT> |
| 68 |
|
| 69 |
</FONT></TD> |
| 70 |
</TR> |
| 71 |
<TR> |
| 72 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 73 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 76 |
</TR> |
| 77 |
</TABLE> |
| 78 |
<A NAME="skip-navbar_top"></A> |
| 79 |
<!-- ========= END OF TOP NAVBAR ========= --> |
| 80 |
|
| 81 |
<HR> |
| 82 |
<!-- ======== START OF CLASS DATA ======== --> |
| 83 |
<H2> |
| 84 |
<FONT SIZE="-1"> |
| 85 |
org.apache.axis.utils</FONT> |
| 86 |
<BR> |
| 87 |
Class XMLUtils</H2> |
| 88 |
<PRE> |
| 89 |
java.lang.Object |
| 90 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.utils.XMLUtils</B> |
| 91 |
</PRE> |
| 92 |
<HR> |
| 93 |
<DL> |
| 94 |
<DT>public class <B>XMLUtils</B><DT>extends java.lang.Object</DL> |
| 95 |
|
| 96 |
<P> |
| 97 |
<HR> |
| 98 |
|
| 99 |
<P> |
| 100 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 101 |
|
| 102 |
<A NAME="nested_class_summary"><!-- --></A> |
| 103 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 104 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 105 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 106 |
<B>Nested Class Summary</B></FONT></TD> |
| 107 |
</TR> |
| 108 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 109 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 110 |
<CODE>static class</CODE></FONT></TD> |
| 111 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils">XMLUtils.ParserErrorHandler</A></B></CODE> |
| 112 |
|
| 113 |
<BR> |
| 114 |
</TD> |
| 115 |
</TR> |
| 116 |
</TABLE> |
| 117 |
|
| 118 |
<!-- =========== FIELD SUMMARY =========== --> |
| 119 |
|
| 120 |
<A NAME="field_summary"><!-- --></A> |
| 121 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 122 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 123 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 124 |
<B>Field Summary</B></FONT></TD> |
| 125 |
</TR> |
| 126 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 127 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 128 |
<CODE>protected static boolean</CODE></FONT></TD> |
| 129 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#enableParserReuse">enableParserReuse</A></B></CODE> |
| 130 |
|
| 131 |
<BR> |
| 132 |
</TD> |
| 133 |
</TR> |
| 134 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 135 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 136 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 137 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#httpAuthCharEncoding">httpAuthCharEncoding</A></B></CODE> |
| 138 |
|
| 139 |
<BR> |
| 140 |
</TD> |
| 141 |
</TR> |
| 142 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 143 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 144 |
<CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| 145 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#log">log</A></B></CODE> |
| 146 |
|
| 147 |
<BR> |
| 148 |
</TD> |
| 149 |
</TR> |
| 150 |
</TABLE> |
| 151 |
|
| 152 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 153 |
|
| 154 |
<A NAME="constructor_summary"><!-- --></A> |
| 155 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 156 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 157 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 158 |
<B>Constructor Summary</B></FONT></TD> |
| 159 |
</TR> |
| 160 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 161 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#XMLUtils()">XMLUtils</A></B>()</CODE> |
| 162 |
|
| 163 |
<BR> |
| 164 |
</TD> |
| 165 |
</TR> |
| 166 |
</TABLE> |
| 167 |
|
| 168 |
<!-- ========== METHOD SUMMARY =========== --> |
| 169 |
|
| 170 |
<A NAME="method_summary"><!-- --></A> |
| 171 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 172 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 173 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 174 |
<B>Method Summary</B></FONT></TD> |
| 175 |
</TR> |
| 176 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 177 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 178 |
<CODE>static org.w3c.dom.Element[]</CODE></FONT></TD> |
| 179 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#asElementArray(java.util.List)">asElementArray</A></B>(java.util.List list)</CODE> |
| 180 |
|
| 181 |
<BR> |
| 182 |
Converts a List with org.w3c.dom.Element objects to an Array |
| 183 |
with org.w3c.dom.Element objects.</TD> |
| 184 |
</TR> |
| 185 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 186 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 187 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 188 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#base64encode(byte[])">base64encode</A></B>(byte[] bytes)</CODE> |
| 189 |
|
| 190 |
<BR> |
| 191 |
</TD> |
| 192 |
</TR> |
| 193 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 194 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 195 |
<CODE>static void</CODE></FONT></TD> |
| 196 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToStream(org.w3c.dom.Document, java.io.OutputStream)">DocumentToStream</A></B>(org.w3c.dom.Document doc, |
| 197 |
java.io.OutputStream out)</CODE> |
| 198 |
|
| 199 |
<BR> |
| 200 |
</TD> |
| 201 |
</TR> |
| 202 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 203 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 204 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 205 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToString(org.w3c.dom.Document)">DocumentToString</A></B>(org.w3c.dom.Document doc)</CODE> |
| 206 |
|
| 207 |
<BR> |
| 208 |
turn a whole DOM document into XML</TD> |
| 209 |
</TR> |
| 210 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 211 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 212 |
<CODE>static void</CODE></FONT></TD> |
| 213 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToWriter(org.w3c.dom.Document, java.io.Writer)">DocumentToWriter</A></B>(org.w3c.dom.Document doc, |
| 214 |
java.io.Writer writer)</CODE> |
| 215 |
|
| 216 |
<BR> |
| 217 |
</TD> |
| 218 |
</TR> |
| 219 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 220 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 221 |
<CODE>static void</CODE></FONT></TD> |
| 222 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#ElementToStream(org.w3c.dom.Element, java.io.OutputStream)">ElementToStream</A></B>(org.w3c.dom.Element element, |
| 223 |
java.io.OutputStream out)</CODE> |
| 224 |
|
| 225 |
<BR> |
| 226 |
</TD> |
| 227 |
</TR> |
| 228 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 229 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 230 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 231 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#ElementToString(org.w3c.dom.Element)">ElementToString</A></B>(org.w3c.dom.Element element)</CODE> |
| 232 |
|
| 233 |
<BR> |
| 234 |
turn an element into an XML fragment</TD> |
| 235 |
</TR> |
| 236 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 237 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 238 |
<CODE>static void</CODE></FONT></TD> |
| 239 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#ElementToWriter(org.w3c.dom.Element, java.io.Writer)">ElementToWriter</A></B>(org.w3c.dom.Element element, |
| 240 |
java.io.Writer writer)</CODE> |
| 241 |
|
| 242 |
<BR> |
| 243 |
</TD> |
| 244 |
</TR> |
| 245 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 246 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 247 |
<CODE>static org.w3c.dom.Node</CODE></FONT></TD> |
| 248 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#findNode(org.w3c.dom.Node, javax.xml.namespace.QName)">findNode</A></B>(org.w3c.dom.Node node, |
| 249 |
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> name)</CODE> |
| 250 |
|
| 251 |
<BR> |
| 252 |
Find a Node with a given QName</TD> |
| 253 |
</TR> |
| 254 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 255 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 256 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 257 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getChildCharacterData(org.w3c.dom.Element)">getChildCharacterData</A></B>(org.w3c.dom.Element parentEl)</CODE> |
| 258 |
|
| 259 |
<BR> |
| 260 |
Concat all the text and cdata node children of this elem and return |
| 261 |
the resulting text.</TD> |
| 262 |
</TR> |
| 263 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 264 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 265 |
<CODE>static javax.xml.parsers.DocumentBuilder</CODE></FONT></TD> |
| 266 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getDocumentBuilder()">getDocumentBuilder</A></B>()</CODE> |
| 267 |
|
| 268 |
<BR> |
| 269 |
Gets a DocumentBuilder</TD> |
| 270 |
</TR> |
| 271 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 272 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 273 |
<CODE>static org.xml.sax.InputSource</CODE></FONT></TD> |
| 274 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getEmptyInputSource()">getEmptyInputSource</A></B>()</CODE> |
| 275 |
|
| 276 |
<BR> |
| 277 |
</TD> |
| 278 |
</TR> |
| 279 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 280 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 281 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 282 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding()">getEncoding</A></B>()</CODE> |
| 283 |
|
| 284 |
<BR> |
| 285 |
Get the current encoding in effect</TD> |
| 286 |
</TR> |
| 287 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 288 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 289 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 290 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.MessageContext)">getEncoding</A></B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</CODE> |
| 291 |
|
| 292 |
<BR> |
| 293 |
Get the current encoding in effect</TD> |
| 294 |
</TR> |
| 295 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 296 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 297 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 298 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext)">getEncoding</A></B>(<A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A> message, |
| 299 |
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</CODE> |
| 300 |
|
| 301 |
<BR> |
| 302 |
</TD> |
| 303 |
</TR> |
| 304 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 305 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 306 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 307 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext, org.apache.axis.components.encoding.XMLEncoder)">getEncoding</A></B>(<A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A> message, |
| 308 |
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext, |
| 309 |
<A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A> defaultEncoder)</CODE> |
| 310 |
|
| 311 |
<BR> |
| 312 |
</TD> |
| 313 |
</TR> |
| 314 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 315 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 316 |
<CODE>static <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 317 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getFullQNameFromString(java.lang.String, org.w3c.dom.Node)">getFullQNameFromString</A></B>(java.lang.String str, |
| 318 |
org.w3c.dom.Node e)</CODE> |
| 319 |
|
| 320 |
<BR> |
| 321 |
Return a QName when passed a string like "foo:bar" by mapping |
| 322 |
the "foo" prefix to a namespace in the context of the given Node.</TD> |
| 323 |
</TR> |
| 324 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 325 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 326 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 327 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getInnerXMLString(org.w3c.dom.Element)">getInnerXMLString</A></B>(org.w3c.dom.Element element)</CODE> |
| 328 |
|
| 329 |
<BR> |
| 330 |
get the inner XML inside an element as a string.</TD> |
| 331 |
</TR> |
| 332 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 333 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 334 |
<CODE>static org.xml.sax.InputSource</CODE></FONT></TD> |
| 335 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getInputSourceFromURI(java.lang.String)">getInputSourceFromURI</A></B>(java.lang.String uri)</CODE> |
| 336 |
|
| 337 |
<BR> |
| 338 |
Utility to get the bytes uri.</TD> |
| 339 |
</TR> |
| 340 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 341 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 342 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 343 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getNamespace(java.lang.String, org.w3c.dom.Node)">getNamespace</A></B>(java.lang.String prefix, |
| 344 |
org.w3c.dom.Node e)</CODE> |
| 345 |
|
| 346 |
<BR> |
| 347 |
</TD> |
| 348 |
</TR> |
| 349 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 350 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 351 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 352 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getNamespace(java.lang.String, org.w3c.dom.Node, org.w3c.dom.Node)">getNamespace</A></B>(java.lang.String prefix, |
| 353 |
org.w3c.dom.Node e, |
| 354 |
org.w3c.dom.Node stopNode)</CODE> |
| 355 |
|
| 356 |
<BR> |
| 357 |
Searches for the namespace URI of the given prefix in the given DOM range.</TD> |
| 358 |
</TR> |
| 359 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 360 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 361 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 362 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getPrefix(java.lang.String, org.w3c.dom.Node)">getPrefix</A></B>(java.lang.String uri, |
| 363 |
org.w3c.dom.Node e)</CODE> |
| 364 |
|
| 365 |
<BR> |
| 366 |
</TD> |
| 367 |
</TR> |
| 368 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 369 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 370 |
<CODE>static <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| 371 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getQNameFromString(java.lang.String, org.w3c.dom.Node)">getQNameFromString</A></B>(java.lang.String str, |
| 372 |
org.w3c.dom.Node e)</CODE> |
| 373 |
|
| 374 |
<BR> |
| 375 |
Return a QName when passed a string like "foo:bar" by mapping |
| 376 |
the "foo" prefix to a namespace in the context of the given Node.</TD> |
| 377 |
</TR> |
| 378 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 379 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 380 |
<CODE>static javax.xml.parsers.SAXParser</CODE></FONT></TD> |
| 381 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getSAXParser()">getSAXParser</A></B>()</CODE> |
| 382 |
|
| 383 |
<BR> |
| 384 |
Get a SAX parser instance from the JAXP factory.</TD> |
| 385 |
</TR> |
| 386 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 387 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 388 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 389 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getStringForQName(javax.xml.namespace.QName, org.w3c.dom.Element)">getStringForQName</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname, |
| 390 |
org.w3c.dom.Element e)</CODE> |
| 391 |
|
| 392 |
<BR> |
| 393 |
Return a string for a particular QName, mapping a new prefix |
| 394 |
if necessary.</TD> |
| 395 |
</TR> |
| 396 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 397 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 398 |
<CODE>static <A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A></CODE></FONT></TD> |
| 399 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getXMLEncoder(org.apache.axis.MessageContext)">getXMLEncoder</A></B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</CODE> |
| 400 |
|
| 401 |
<BR> |
| 402 |
Get the current XMLEncoder</TD> |
| 403 |
</TR> |
| 404 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 405 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 406 |
<CODE>static <A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A></CODE></FONT></TD> |
| 407 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#getXMLEncoder(java.lang.String)">getXMLEncoder</A></B>(java.lang.String encoding)</CODE> |
| 408 |
|
| 409 |
<BR> |
| 410 |
Get the XMLEncoder for specific encoding</TD> |
| 411 |
</TR> |
| 412 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 413 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 414 |
<CODE>static void</CODE></FONT></TD> |
| 415 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#initSAXFactory(java.lang.String, boolean, boolean)">initSAXFactory</A></B>(java.lang.String factoryClassName, |
| 416 |
boolean namespaceAware, |
| 417 |
boolean validating)</CODE> |
| 418 |
|
| 419 |
<BR> |
| 420 |
Initialize the SAX parser factory.</TD> |
| 421 |
</TR> |
| 422 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 423 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 424 |
<CODE>static org.w3c.dom.Document</CODE></FONT></TD> |
| 425 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#newDocument()">newDocument</A></B>()</CODE> |
| 426 |
|
| 427 |
<BR> |
| 428 |
Get an empty new Document</TD> |
| 429 |
</TR> |
| 430 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 431 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 432 |
<CODE>static org.w3c.dom.Document</CODE></FONT></TD> |
| 433 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(org.xml.sax.InputSource)">newDocument</A></B>(org.xml.sax.InputSource inp)</CODE> |
| 434 |
|
| 435 |
<BR> |
| 436 |
Get a new Document read from the input source</TD> |
| 437 |
</TR> |
| 438 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 439 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 440 |
<CODE>static org.w3c.dom.Document</CODE></FONT></TD> |
| 441 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.io.InputStream)">newDocument</A></B>(java.io.InputStream inp)</CODE> |
| 442 |
|
| 443 |
<BR> |
| 444 |
Get a new Document read from the input stream</TD> |
| 445 |
</TR> |
| 446 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 447 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 448 |
<CODE>static org.w3c.dom.Document</CODE></FONT></TD> |
| 449 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.lang.String)">newDocument</A></B>(java.lang.String uri)</CODE> |
| 450 |
|
| 451 |
<BR> |
| 452 |
Get a new Document read from the indicated uri</TD> |
| 453 |
</TR> |
| 454 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 455 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 456 |
<CODE>static org.w3c.dom.Document</CODE></FONT></TD> |
| 457 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.lang.String, java.lang.String, java.lang.String)">newDocument</A></B>(java.lang.String uri, |
| 458 |
java.lang.String username, |
| 459 |
java.lang.String password)</CODE> |
| 460 |
|
| 461 |
<BR> |
| 462 |
Create a new document from the given URI, use the username and password |
| 463 |
if the URI requires authentication.</TD> |
| 464 |
</TR> |
| 465 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 466 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 467 |
<CODE>static void</CODE></FONT></TD> |
| 468 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#normalize(org.w3c.dom.Node)">normalize</A></B>(org.w3c.dom.Node node)</CODE> |
| 469 |
|
| 470 |
<BR> |
| 471 |
Trim all new lines from text nodes.</TD> |
| 472 |
</TR> |
| 473 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 474 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 475 |
<CODE>static void</CODE></FONT></TD> |
| 476 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToStream(org.w3c.dom.Document, java.io.OutputStream)">PrettyDocumentToStream</A></B>(org.w3c.dom.Document doc, |
| 477 |
java.io.OutputStream out)</CODE> |
| 478 |
|
| 479 |
<BR> |
| 480 |
</TD> |
| 481 |
</TR> |
| 482 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 483 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 484 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 485 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToString(org.w3c.dom.Document)">PrettyDocumentToString</A></B>(org.w3c.dom.Document doc)</CODE> |
| 486 |
|
| 487 |
<BR> |
| 488 |
</TD> |
| 489 |
</TR> |
| 490 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 491 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 492 |
<CODE>static void</CODE></FONT></TD> |
| 493 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToWriter(org.w3c.dom.Document, java.io.Writer)">PrettyDocumentToWriter</A></B>(org.w3c.dom.Document doc, |
| 494 |
java.io.Writer writer)</CODE> |
| 495 |
|
| 496 |
<BR> |
| 497 |
</TD> |
| 498 |
</TR> |
| 499 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 500 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 501 |
<CODE>static void</CODE></FONT></TD> |
| 502 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#PrettyElementToStream(org.w3c.dom.Element, java.io.OutputStream)">PrettyElementToStream</A></B>(org.w3c.dom.Element element, |
| 503 |
java.io.OutputStream out)</CODE> |
| 504 |
|
| 505 |
<BR> |
| 506 |
</TD> |
| 507 |
</TR> |
| 508 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 509 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 510 |
<CODE>static void</CODE></FONT></TD> |
| 511 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#PrettyElementToWriter(org.w3c.dom.Element, java.io.Writer)">PrettyElementToWriter</A></B>(org.w3c.dom.Element element, |
| 512 |
java.io.Writer writer)</CODE> |
| 513 |
|
| 514 |
<BR> |
| 515 |
</TD> |
| 516 |
</TR> |
| 517 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 518 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 519 |
<CODE>static void</CODE></FONT></TD> |
| 520 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#privateElementToWriter(org.w3c.dom.Element, java.io.Writer, boolean, boolean)">privateElementToWriter</A></B>(org.w3c.dom.Element element, |
| 521 |
java.io.Writer writer, |
| 522 |
boolean omitXMLDecl, |
| 523 |
boolean pretty)</CODE> |
| 524 |
|
| 525 |
<BR> |
| 526 |
</TD> |
| 527 |
</TR> |
| 528 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 529 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 530 |
<CODE>static void</CODE></FONT></TD> |
| 531 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#releaseDocumentBuilder(javax.xml.parsers.DocumentBuilder)">releaseDocumentBuilder</A></B>(javax.xml.parsers.DocumentBuilder db)</CODE> |
| 532 |
|
| 533 |
<BR> |
| 534 |
Releases a DocumentBuilder</TD> |
| 535 |
</TR> |
| 536 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 537 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 538 |
<CODE>static void</CODE></FONT></TD> |
| 539 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#releaseSAXParser(javax.xml.parsers.SAXParser)">releaseSAXParser</A></B>(javax.xml.parsers.SAXParser parser)</CODE> |
| 540 |
|
| 541 |
<BR> |
| 542 |
Return a SAX parser for reuse.</TD> |
| 543 |
</TR> |
| 544 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 545 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 546 |
<CODE>static org.xml.sax.InputSource</CODE></FONT></TD> |
| 547 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#sourceToInputSource(javax.xml.transform.Source)">sourceToInputSource</A></B>(javax.xml.transform.Source source)</CODE> |
| 548 |
|
| 549 |
<BR> |
| 550 |
Utility to get the bytes uri</TD> |
| 551 |
</TR> |
| 552 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 553 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 554 |
<CODE>static org.w3c.dom.Element</CODE></FONT></TD> |
| 555 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#StringToElement(java.lang.String, java.lang.String, java.lang.String)">StringToElement</A></B>(java.lang.String namespace, |
| 556 |
java.lang.String name, |
| 557 |
java.lang.String string)</CODE> |
| 558 |
|
| 559 |
<BR> |
| 560 |
Convert a simple string to an element with a text node</TD> |
| 561 |
</TR> |
| 562 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 563 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 564 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 565 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#trim(java.lang.String)">trim</A></B>(java.lang.String str)</CODE> |
| 566 |
|
| 567 |
<BR> |
| 568 |
</TD> |
| 569 |
</TR> |
| 570 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 571 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 572 |
<CODE>static java.lang.String</CODE></FONT></TD> |
| 573 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/XMLUtils.html#xmlEncodeString(java.lang.String)">xmlEncodeString</A></B>(java.lang.String orig)</CODE> |
| 574 |
|
| 575 |
<BR> |
| 576 |
Encode a string appropriately for XML.</TD> |
| 577 |
</TR> |
| 578 |
</TABLE> |
| 579 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 580 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 581 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 582 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
| 583 |
</TR> |
| 584 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 585 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| 586 |
</TR> |
| 587 |
</TABLE> |
| 588 |
|
| 589 |
<P> |
| 590 |
|
| 591 |
<!-- ============ FIELD DETAIL =========== --> |
| 592 |
|
| 593 |
<A NAME="field_detail"><!-- --></A> |
| 594 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 595 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 596 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 597 |
<B>Field Detail</B></FONT></TD> |
| 598 |
</TR> |
| 599 |
</TABLE> |
| 600 |
|
| 601 |
<A NAME="log"><!-- --></A><H3> |
| 602 |
log</H3> |
| 603 |
<PRE> |
| 604 |
protected static org.apache.commons.logging.Log <B>log</B></PRE> |
| 605 |
<DL> |
| 606 |
<DL> |
| 607 |
</DL> |
| 608 |
</DL> |
| 609 |
<HR> |
| 610 |
|
| 611 |
<A NAME="httpAuthCharEncoding"><!-- --></A><H3> |
| 612 |
httpAuthCharEncoding</H3> |
| 613 |
<PRE> |
| 614 |
public static final java.lang.String <B>httpAuthCharEncoding</B></PRE> |
| 615 |
<DL> |
| 616 |
<DL> |
| 617 |
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.axis.utils.XMLUtils.httpAuthCharEncoding">Constant Field Values</A></DL> |
| 618 |
</DL> |
| 619 |
<HR> |
| 620 |
|
| 621 |
<A NAME="enableParserReuse"><!-- --></A><H3> |
| 622 |
enableParserReuse</H3> |
| 623 |
<PRE> |
| 624 |
protected static boolean <B>enableParserReuse</B></PRE> |
| 625 |
<DL> |
| 626 |
<DL> |
| 627 |
</DL> |
| 628 |
</DL> |
| 629 |
|
| 630 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 631 |
|
| 632 |
<A NAME="constructor_detail"><!-- --></A> |
| 633 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 634 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 635 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 636 |
<B>Constructor Detail</B></FONT></TD> |
| 637 |
</TR> |
| 638 |
</TABLE> |
| 639 |
|
| 640 |
<A NAME="XMLUtils()"><!-- --></A><H3> |
| 641 |
XMLUtils</H3> |
| 642 |
<PRE> |
| 643 |
public <B>XMLUtils</B>()</PRE> |
| 644 |
<DL> |
| 645 |
</DL> |
| 646 |
|
| 647 |
<!-- ============ METHOD DETAIL ========== --> |
| 648 |
|
| 649 |
<A NAME="method_detail"><!-- --></A> |
| 650 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 651 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 652 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 653 |
<B>Method Detail</B></FONT></TD> |
| 654 |
</TR> |
| 655 |
</TABLE> |
| 656 |
|
| 657 |
<A NAME="xmlEncodeString(java.lang.String)"><!-- --></A><H3> |
| 658 |
xmlEncodeString</H3> |
| 659 |
<PRE> |
| 660 |
public static java.lang.String <B>xmlEncodeString</B>(java.lang.String orig)</PRE> |
| 661 |
<DL> |
| 662 |
<DD>Encode a string appropriately for XML. |
| 663 |
<P> |
| 664 |
<DD><DL> |
| 665 |
<DT><B>Parameters:</B><DD><CODE>orig</CODE> - the String to encode |
| 666 |
<DT><B>Returns:</B><DD>a String in which XML special chars are repalced by entities</DL> |
| 667 |
</DD> |
| 668 |
</DL> |
| 669 |
<HR> |
| 670 |
|
| 671 |
<A NAME="getXMLEncoder(org.apache.axis.MessageContext)"><!-- --></A><H3> |
| 672 |
getXMLEncoder</H3> |
| 673 |
<PRE> |
| 674 |
public static <A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A> <B>getXMLEncoder</B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</PRE> |
| 675 |
<DL> |
| 676 |
<DD>Get the current XMLEncoder |
| 677 |
<P> |
| 678 |
<DD><DL> |
| 679 |
|
| 680 |
<DT><B>Returns:</B><DD>XMLEncoder</DL> |
| 681 |
</DD> |
| 682 |
</DL> |
| 683 |
<HR> |
| 684 |
|
| 685 |
<A NAME="getXMLEncoder(java.lang.String)"><!-- --></A><H3> |
| 686 |
getXMLEncoder</H3> |
| 687 |
<PRE> |
| 688 |
public static <A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A> <B>getXMLEncoder</B>(java.lang.String encoding)</PRE> |
| 689 |
<DL> |
| 690 |
<DD>Get the XMLEncoder for specific encoding |
| 691 |
<P> |
| 692 |
<DD><DL> |
| 693 |
|
| 694 |
<DT><B>Returns:</B><DD>XMLEncoder</DL> |
| 695 |
</DD> |
| 696 |
</DL> |
| 697 |
<HR> |
| 698 |
|
| 699 |
<A NAME="getEncoding(org.apache.axis.MessageContext)"><!-- --></A><H3> |
| 700 |
getEncoding</H3> |
| 701 |
<PRE> |
| 702 |
public static java.lang.String <B>getEncoding</B>(<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</PRE> |
| 703 |
<DL> |
| 704 |
<DD>Get the current encoding in effect |
| 705 |
<P> |
| 706 |
<DD><DL> |
| 707 |
|
| 708 |
<DT><B>Returns:</B><DD>string</DL> |
| 709 |
</DD> |
| 710 |
</DL> |
| 711 |
<HR> |
| 712 |
|
| 713 |
<A NAME="getEncoding()"><!-- --></A><H3> |
| 714 |
getEncoding</H3> |
| 715 |
<PRE> |
| 716 |
public static java.lang.String <B>getEncoding</B>()</PRE> |
| 717 |
<DL> |
| 718 |
<DD>Get the current encoding in effect |
| 719 |
<P> |
| 720 |
<DD><DL> |
| 721 |
|
| 722 |
<DT><B>Returns:</B><DD>string</DL> |
| 723 |
</DD> |
| 724 |
</DL> |
| 725 |
<HR> |
| 726 |
|
| 727 |
<A NAME="initSAXFactory(java.lang.String, boolean, boolean)"><!-- --></A><H3> |
| 728 |
initSAXFactory</H3> |
| 729 |
<PRE> |
| 730 |
public static void <B>initSAXFactory</B>(java.lang.String factoryClassName, |
| 731 |
boolean namespaceAware, |
| 732 |
boolean validating)</PRE> |
| 733 |
<DL> |
| 734 |
<DD>Initialize the SAX parser factory. |
| 735 |
<P> |
| 736 |
<DD><DL> |
| 737 |
<DT><B>Parameters:</B><DD><CODE>factoryClassName</CODE> - The (optional) class name of the desired |
| 738 |
SAXParserFactory implementation. Will be |
| 739 |
assigned to the system property |
| 740 |
<b>javax.xml.parsers.SAXParserFactory</b> |
| 741 |
unless this property is already set. |
| 742 |
If <code>null</code>, leaves current setting |
| 743 |
alone.<DD><CODE>namespaceAware</CODE> - true if we want a namespace-aware parser<DD><CODE>validating</CODE> - true if we want a validating parser</DL> |
| 744 |
</DD> |
| 745 |
</DL> |
| 746 |
<HR> |
| 747 |
|
| 748 |
<A NAME="getDocumentBuilder()"><!-- --></A><H3> |
| 749 |
getDocumentBuilder</H3> |
| 750 |
<PRE> |
| 751 |
public static javax.xml.parsers.DocumentBuilder <B>getDocumentBuilder</B>() |
| 752 |
throws javax.xml.parsers.ParserConfigurationException</PRE> |
| 753 |
<DL> |
| 754 |
<DD>Gets a DocumentBuilder |
| 755 |
<P> |
| 756 |
<DD><DL> |
| 757 |
|
| 758 |
<DT><B>Returns:</B><DD>DocumentBuilder |
| 759 |
<DT><B>Throws:</B> |
| 760 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE></DL> |
| 761 |
</DD> |
| 762 |
</DL> |
| 763 |
<HR> |
| 764 |
|
| 765 |
<A NAME="releaseDocumentBuilder(javax.xml.parsers.DocumentBuilder)"><!-- --></A><H3> |
| 766 |
releaseDocumentBuilder</H3> |
| 767 |
<PRE> |
| 768 |
public static void <B>releaseDocumentBuilder</B>(javax.xml.parsers.DocumentBuilder db)</PRE> |
| 769 |
<DL> |
| 770 |
<DD>Releases a DocumentBuilder |
| 771 |
<P> |
| 772 |
<DD><DL> |
| 773 |
<DT><B>Parameters:</B><DD><CODE>db</CODE> - </DL> |
| 774 |
</DD> |
| 775 |
</DL> |
| 776 |
<HR> |
| 777 |
|
| 778 |
<A NAME="getSAXParser()"><!-- --></A><H3> |
| 779 |
getSAXParser</H3> |
| 780 |
<PRE> |
| 781 |
public static javax.xml.parsers.SAXParser <B>getSAXParser</B>()</PRE> |
| 782 |
<DL> |
| 783 |
<DD>Get a SAX parser instance from the JAXP factory. |
| 784 |
<P> |
| 785 |
<DD><DL> |
| 786 |
|
| 787 |
<DT><B>Returns:</B><DD>a SAXParser instance.</DL> |
| 788 |
</DD> |
| 789 |
</DL> |
| 790 |
<HR> |
| 791 |
|
| 792 |
<A NAME="releaseSAXParser(javax.xml.parsers.SAXParser)"><!-- --></A><H3> |
| 793 |
releaseSAXParser</H3> |
| 794 |
<PRE> |
| 795 |
public static void <B>releaseSAXParser</B>(javax.xml.parsers.SAXParser parser)</PRE> |
| 796 |
<DL> |
| 797 |
<DD>Return a SAX parser for reuse. |
| 798 |
<P> |
| 799 |
<DD><DL> |
| 800 |
<DT><B>Parameters:</B><DD><CODE>parser</CODE> - A SAX parser that is available for reuse</DL> |
| 801 |
</DD> |
| 802 |
</DL> |
| 803 |
<HR> |
| 804 |
|
| 805 |
<A NAME="newDocument()"><!-- --></A><H3> |
| 806 |
newDocument</H3> |
| 807 |
<PRE> |
| 808 |
public static org.w3c.dom.Document <B>newDocument</B>() |
| 809 |
throws javax.xml.parsers.ParserConfigurationException</PRE> |
| 810 |
<DL> |
| 811 |
<DD>Get an empty new Document |
| 812 |
<P> |
| 813 |
<DD><DL> |
| 814 |
|
| 815 |
<DT><B>Returns:</B><DD>Document |
| 816 |
<DT><B>Throws:</B> |
| 817 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if construction problems occur</DL> |
| 818 |
</DD> |
| 819 |
</DL> |
| 820 |
<HR> |
| 821 |
|
| 822 |
<A NAME="newDocument(org.xml.sax.InputSource)"><!-- --></A><H3> |
| 823 |
newDocument</H3> |
| 824 |
<PRE> |
| 825 |
public static org.w3c.dom.Document <B>newDocument</B>(org.xml.sax.InputSource inp) |
| 826 |
throws javax.xml.parsers.ParserConfigurationException, |
| 827 |
org.xml.sax.SAXException, |
| 828 |
java.io.IOException</PRE> |
| 829 |
<DL> |
| 830 |
<DD>Get a new Document read from the input source |
| 831 |
<P> |
| 832 |
<DD><DL> |
| 833 |
|
| 834 |
<DT><B>Returns:</B><DD>Document |
| 835 |
<DT><B>Throws:</B> |
| 836 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if construction problems occur |
| 837 |
<DD><CODE>org.xml.sax.SAXException</CODE> - if the document has xml sax problems |
| 838 |
<DD><CODE>java.io.IOException</CODE> - if i/o exceptions occur</DL> |
| 839 |
</DD> |
| 840 |
</DL> |
| 841 |
<HR> |
| 842 |
|
| 843 |
<A NAME="newDocument(java.io.InputStream)"><!-- --></A><H3> |
| 844 |
newDocument</H3> |
| 845 |
<PRE> |
| 846 |
public static org.w3c.dom.Document <B>newDocument</B>(java.io.InputStream inp) |
| 847 |
throws javax.xml.parsers.ParserConfigurationException, |
| 848 |
org.xml.sax.SAXException, |
| 849 |
java.io.IOException</PRE> |
| 850 |
<DL> |
| 851 |
<DD>Get a new Document read from the input stream |
| 852 |
<P> |
| 853 |
<DD><DL> |
| 854 |
|
| 855 |
<DT><B>Returns:</B><DD>Document |
| 856 |
<DT><B>Throws:</B> |
| 857 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if construction problems occur |
| 858 |
<DD><CODE>org.xml.sax.SAXException</CODE> - if the document has xml sax problems |
| 859 |
<DD><CODE>java.io.IOException</CODE> - if i/o exceptions occur</DL> |
| 860 |
</DD> |
| 861 |
</DL> |
| 862 |
<HR> |
| 863 |
|
| 864 |
<A NAME="newDocument(java.lang.String)"><!-- --></A><H3> |
| 865 |
newDocument</H3> |
| 866 |
<PRE> |
| 867 |
public static org.w3c.dom.Document <B>newDocument</B>(java.lang.String uri) |
| 868 |
throws javax.xml.parsers.ParserConfigurationException, |
| 869 |
org.xml.sax.SAXException, |
| 870 |
java.io.IOException</PRE> |
| 871 |
<DL> |
| 872 |
<DD>Get a new Document read from the indicated uri |
| 873 |
<P> |
| 874 |
<DD><DL> |
| 875 |
|
| 876 |
<DT><B>Returns:</B><DD>Document |
| 877 |
<DT><B>Throws:</B> |
| 878 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if construction problems occur |
| 879 |
<DD><CODE>org.xml.sax.SAXException</CODE> - if the document has xml sax problems |
| 880 |
<DD><CODE>java.io.IOException</CODE> - if i/o exceptions occur</DL> |
| 881 |
</DD> |
| 882 |
</DL> |
| 883 |
<HR> |
| 884 |
|
| 885 |
<A NAME="newDocument(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| 886 |
newDocument</H3> |
| 887 |
<PRE> |
| 888 |
public static org.w3c.dom.Document <B>newDocument</B>(java.lang.String uri, |
| 889 |
java.lang.String username, |
| 890 |
java.lang.String password) |
| 891 |
throws javax.xml.parsers.ParserConfigurationException, |
| 892 |
org.xml.sax.SAXException, |
| 893 |
java.io.IOException</PRE> |
| 894 |
<DL> |
| 895 |
<DD>Create a new document from the given URI, use the username and password |
| 896 |
if the URI requires authentication. |
| 897 |
<P> |
| 898 |
<DD><DL> |
| 899 |
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the resource to get<DD><CODE>username</CODE> - basic auth username<DD><CODE>password</CODE> - basic auth password |
| 900 |
<DT><B>Throws:</B> |
| 901 |
<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if construction problems occur |
| 902 |
<DD><CODE>org.xml.sax.SAXException</CODE> - if the document has xml sax problems |
| 903 |
<DD><CODE>java.io.IOException</CODE> - if i/o exceptions occur</DL> |
| 904 |
</DD> |
| 905 |
</DL> |
| 906 |
<HR> |
| 907 |
|
| 908 |
<A NAME="ElementToString(org.w3c.dom.Element)"><!-- --></A><H3> |
| 909 |
ElementToString</H3> |
| 910 |
<PRE> |
| 911 |
public static java.lang.String <B>ElementToString</B>(org.w3c.dom.Element element)</PRE> |
| 912 |
<DL> |
| 913 |
<DD>turn an element into an XML fragment |
| 914 |
<P> |
| 915 |
<DD><DL> |
| 916 |
<DT><B>Parameters:</B><DD><CODE>element</CODE> - |
| 917 |
<DT><B>Returns:</B><DD>stringified element</DL> |
| 918 |
</DD> |
| 919 |
</DL> |
| 920 |
<HR> |
| 921 |
|
| 922 |
<A NAME="DocumentToString(org.w3c.dom.Document)"><!-- --></A><H3> |
| 923 |
DocumentToString</H3> |
| 924 |
<PRE> |
| 925 |
public static java.lang.String <B>DocumentToString</B>(org.w3c.dom.Document doc)</PRE> |
| 926 |
<DL> |
| 927 |
<DD>turn a whole DOM document into XML |
| 928 |
<P> |
| 929 |
<DD><DL> |
| 930 |
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - DOM document |
| 931 |
<DT><B>Returns:</B><DD>string representation of the document, including XML declaration</DL> |
| 932 |
</DD> |
| 933 |
</DL> |
| 934 |
<HR> |
| 935 |
|
| 936 |
<A NAME="PrettyDocumentToString(org.w3c.dom.Document)"><!-- --></A><H3> |
| 937 |
PrettyDocumentToString</H3> |
| 938 |
<PRE> |
| 939 |
public static java.lang.String <B>PrettyDocumentToString</B>(org.w3c.dom.Document doc)</PRE> |
| 940 |
<DL> |
| 941 |
<DD><DL> |
| 942 |
</DL> |
| 943 |
</DD> |
| 944 |
</DL> |
| 945 |
<HR> |
| 946 |
|
| 947 |
<A NAME="privateElementToWriter(org.w3c.dom.Element, java.io.Writer, boolean, boolean)"><!-- --></A><H3> |
| 948 |
privateElementToWriter</H3> |
| 949 |
<PRE> |
| 950 |
public static void <B>privateElementToWriter</B>(org.w3c.dom.Element element, |
| 951 |
java.io.Writer writer, |
| 952 |
boolean omitXMLDecl, |
| 953 |
boolean pretty)</PRE> |
| 954 |
<DL> |
| 955 |
<DD><DL> |
| 956 |
</DL> |
| 957 |
</DD> |
| 958 |
</DL> |
| 959 |
<HR> |
| 960 |
|
| 961 |
<A NAME="ElementToStream(org.w3c.dom.Element, java.io.OutputStream)"><!-- --></A><H3> |
| 962 |
ElementToStream</H3> |
| 963 |
<PRE> |
| 964 |
public static void <B>ElementToStream</B>(org.w3c.dom.Element element, |
| 965 |
java.io.OutputStream out)</PRE> |
| 966 |
<DL> |
| 967 |
<DD><DL> |
| 968 |
</DL> |
| 969 |
</DD> |
| 970 |
</DL> |
| 971 |
<HR> |
| 972 |
|
| 973 |
<A NAME="PrettyElementToStream(org.w3c.dom.Element, java.io.OutputStream)"><!-- --></A><H3> |
| 974 |
PrettyElementToStream</H3> |
| 975 |
<PRE> |
| 976 |
public static void <B>PrettyElementToStream</B>(org.w3c.dom.Element element, |
| 977 |
java.io.OutputStream out)</PRE> |
| 978 |
<DL> |
| 979 |
<DD><DL> |
| 980 |
</DL> |
| 981 |
</DD> |
| 982 |
</DL> |
| 983 |
<HR> |
| 984 |
|
| 985 |
<A NAME="ElementToWriter(org.w3c.dom.Element, java.io.Writer)"><!-- --></A><H3> |
| 986 |
ElementToWriter</H3> |
| 987 |
<PRE> |
| 988 |
public static void <B>ElementToWriter</B>(org.w3c.dom.Element element, |
| 989 |
java.io.Writer writer)</PRE> |
| 990 |
<DL> |
| 991 |
<DD><DL> |
| 992 |
</DL> |
| 993 |
</DD> |
| 994 |
</DL> |
| 995 |
<HR> |
| 996 |
|
| 997 |
<A NAME="PrettyElementToWriter(org.w3c.dom.Element, java.io.Writer)"><!-- --></A><H3> |
| 998 |
PrettyElementToWriter</H3> |
| 999 |
<PRE> |
| 1000 |
public static void <B>PrettyElementToWriter</B>(org.w3c.dom.Element element, |
| 1001 |
java.io.Writer writer)</PRE> |
| 1002 |
<DL> |
| 1003 |
<DD><DL> |
| 1004 |
</DL> |
| 1005 |
</DD> |
| 1006 |
</DL> |
| 1007 |
<HR> |
| 1008 |
|
| 1009 |
<A NAME="DocumentToStream(org.w3c.dom.Document, java.io.OutputStream)"><!-- --></A><H3> |
| 1010 |
DocumentToStream</H3> |
| 1011 |
<PRE> |
| 1012 |
public static void <B>DocumentToStream</B>(org.w3c.dom.Document doc, |
| 1013 |
java.io.OutputStream out)</PRE> |
| 1014 |
<DL> |
| 1015 |
<DD><DL> |
| 1016 |
</DL> |
| 1017 |
</DD> |
| 1018 |
</DL> |
| 1019 |
<HR> |
| 1020 |
|
| 1021 |
<A NAME="PrettyDocumentToStream(org.w3c.dom.Document, java.io.OutputStream)"><!-- --></A><H3> |
| 1022 |
PrettyDocumentToStream</H3> |
| 1023 |
<PRE> |
| 1024 |
public static void <B>PrettyDocumentToStream</B>(org.w3c.dom.Document doc, |
| 1025 |
java.io.OutputStream out)</PRE> |
| 1026 |
<DL> |
| 1027 |
<DD><DL> |
| 1028 |
</DL> |
| 1029 |
</DD> |
| 1030 |
</DL> |
| 1031 |
<HR> |
| 1032 |
|
| 1033 |
<A NAME="DocumentToWriter(org.w3c.dom.Document, java.io.Writer)"><!-- --></A><H3> |
| 1034 |
DocumentToWriter</H3> |
| 1035 |
<PRE> |
| 1036 |
public static void <B>DocumentToWriter</B>(org.w3c.dom.Document doc, |
| 1037 |
java.io.Writer writer)</PRE> |
| 1038 |
<DL> |
| 1039 |
<DD><DL> |
| 1040 |
</DL> |
| 1041 |
</DD> |
| 1042 |
</DL> |
| 1043 |
<HR> |
| 1044 |
|
| 1045 |
<A NAME="PrettyDocumentToWriter(org.w3c.dom.Document, java.io.Writer)"><!-- --></A><H3> |
| 1046 |
PrettyDocumentToWriter</H3> |
| 1047 |
<PRE> |
| 1048 |
public static void <B>PrettyDocumentToWriter</B>(org.w3c.dom.Document doc, |
| 1049 |
java.io.Writer writer)</PRE> |
| 1050 |
<DL> |
| 1051 |
<DD><DL> |
| 1052 |
</DL> |
| 1053 |
</DD> |
| 1054 |
</DL> |
| 1055 |
<HR> |
| 1056 |
|
| 1057 |
<A NAME="StringToElement(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
| 1058 |
StringToElement</H3> |
| 1059 |
<PRE> |
| 1060 |
public static org.w3c.dom.Element <B>StringToElement</B>(java.lang.String namespace, |
| 1061 |
java.lang.String name, |
| 1062 |
java.lang.String string)</PRE> |
| 1063 |
<DL> |
| 1064 |
<DD>Convert a simple string to an element with a text node |
| 1065 |
<P> |
| 1066 |
<DD><DL> |
| 1067 |
<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - - element namespace<DD><CODE>name</CODE> - - element name<DD><CODE>string</CODE> - - value of the text node |
| 1068 |
<DT><B>Returns:</B><DD>element - an XML Element, null if no element was created</DL> |
| 1069 |
</DD> |
| 1070 |
</DL> |
| 1071 |
<HR> |
| 1072 |
|
| 1073 |
<A NAME="getInnerXMLString(org.w3c.dom.Element)"><!-- --></A><H3> |
| 1074 |
getInnerXMLString</H3> |
| 1075 |
<PRE> |
| 1076 |
public static java.lang.String <B>getInnerXMLString</B>(org.w3c.dom.Element element)</PRE> |
| 1077 |
<DL> |
| 1078 |
<DD>get the inner XML inside an element as a string. This is done by |
| 1079 |
converting the XML to its string representation, then extracting the |
| 1080 |
subset between beginning and end tags. |
| 1081 |
<P> |
| 1082 |
<DD><DL> |
| 1083 |
<DT><B>Parameters:</B><DD><CODE>element</CODE> - |
| 1084 |
<DT><B>Returns:</B><DD>textual body of the element, or null for no inner body</DL> |
| 1085 |
</DD> |
| 1086 |
</DL> |
| 1087 |
<HR> |
| 1088 |
|
| 1089 |
<A NAME="getPrefix(java.lang.String, org.w3c.dom.Node)"><!-- --></A><H3> |
| 1090 |
getPrefix</H3> |
| 1091 |
<PRE> |
| 1092 |
public static java.lang.String <B>getPrefix</B>(java.lang.String uri, |
| 1093 |
org.w3c.dom.Node e)</PRE> |
| 1094 |
<DL> |
| 1095 |
<DD><DL> |
| 1096 |
</DL> |
| 1097 |
</DD> |
| 1098 |
</DL> |
| 1099 |
<HR> |
| 1100 |
|
| 1101 |
<A NAME="getNamespace(java.lang.String, org.w3c.dom.Node, org.w3c.dom.Node)"><!-- --></A><H3> |
| 1102 |
getNamespace</H3> |
| 1103 |
<PRE> |
| 1104 |
public static java.lang.String <B>getNamespace</B>(java.lang.String prefix, |
| 1105 |
org.w3c.dom.Node e, |
| 1106 |
org.w3c.dom.Node stopNode)</PRE> |
| 1107 |
<DL> |
| 1108 |
<DD>Searches for the namespace URI of the given prefix in the given DOM range. |
| 1109 |
|
| 1110 |
The namespace is not searched in parent of the "stopNode". This is |
| 1111 |
usefull to get all the needed namespaces when you need to ouput only a |
| 1112 |
subtree of a DOM document. |
| 1113 |
<P> |
| 1114 |
<DD><DL> |
| 1115 |
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix to find<DD><CODE>e</CODE> - the starting node<DD><CODE>stopNode</CODE> - null to search in all the document or a parent node where the search must stop. |
| 1116 |
<DT><B>Returns:</B><DD>null if no namespace is found, or the namespace URI.</DL> |
| 1117 |
</DD> |
| 1118 |
</DL> |
| 1119 |
<HR> |
| 1120 |
|
| 1121 |
<A NAME="getNamespace(java.lang.String, org.w3c.dom.Node)"><!-- --></A><H3> |
| 1122 |
getNamespace</H3> |
| 1123 |
<PRE> |
| 1124 |
public static java.lang.String <B>getNamespace</B>(java.lang.String prefix, |
| 1125 |
org.w3c.dom.Node e)</PRE> |
| 1126 |
<DL> |
| 1127 |
<DD><DL> |
| 1128 |
</DL> |
| 1129 |
</DD> |
| 1130 |
</DL> |
| 1131 |
<HR> |
| 1132 |
|
| 1133 |
<A NAME="getQNameFromString(java.lang.String, org.w3c.dom.Node)"><!-- --></A><H3> |
| 1134 |
getQNameFromString</H3> |
| 1135 |
<PRE> |
| 1136 |
public static <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getQNameFromString</B>(java.lang.String str, |
| 1137 |
org.w3c.dom.Node e)</PRE> |
| 1138 |
<DL> |
| 1139 |
<DD>Return a QName when passed a string like "foo:bar" by mapping |
| 1140 |
the "foo" prefix to a namespace in the context of the given Node. |
| 1141 |
<P> |
| 1142 |
<DD><DL> |
| 1143 |
|
| 1144 |
<DT><B>Returns:</B><DD>a QName generated from the given string representation</DL> |
| 1145 |
</DD> |
| 1146 |
</DL> |
| 1147 |
<HR> |
| 1148 |
|
| 1149 |
<A NAME="getFullQNameFromString(java.lang.String, org.w3c.dom.Node)"><!-- --></A><H3> |
| 1150 |
getFullQNameFromString</H3> |
| 1151 |
<PRE> |
| 1152 |
public static <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getFullQNameFromString</B>(java.lang.String str, |
| 1153 |
org.w3c.dom.Node e)</PRE> |
| 1154 |
<DL> |
| 1155 |
<DD>Return a QName when passed a string like "foo:bar" by mapping |
| 1156 |
the "foo" prefix to a namespace in the context of the given Node. |
| 1157 |
If default namespace is found it is returned as part of the QName. |
| 1158 |
<P> |
| 1159 |
<DD><DL> |
| 1160 |
|
| 1161 |
<DT><B>Returns:</B><DD>a QName generated from the given string representation</DL> |
| 1162 |
</DD> |
| 1163 |
</DL> |
| 1164 |
<HR> |
| 1165 |
|
| 1166 |
<A NAME="getStringForQName(javax.xml.namespace.QName, org.w3c.dom.Element)"><!-- --></A><H3> |
| 1167 |
getStringForQName</H3> |
| 1168 |
<PRE> |
| 1169 |
public static java.lang.String <B>getStringForQName</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname, |
| 1170 |
org.w3c.dom.Element e)</PRE> |
| 1171 |
<DL> |
| 1172 |
<DD>Return a string for a particular QName, mapping a new prefix |
| 1173 |
if necessary. |
| 1174 |
<P> |
| 1175 |
<DD><DL> |
| 1176 |
</DL> |
| 1177 |
</DD> |
| 1178 |
</DL> |
| 1179 |
<HR> |
| 1180 |
|
| 1181 |
<A NAME="getChildCharacterData(org.w3c.dom.Element)"><!-- --></A><H3> |
| 1182 |
getChildCharacterData</H3> |
| 1183 |
<PRE> |
| 1184 |
public static java.lang.String <B>getChildCharacterData</B>(org.w3c.dom.Element parentEl)</PRE> |
| 1185 |
<DL> |
| 1186 |
<DD>Concat all the text and cdata node children of this elem and return |
| 1187 |
the resulting text. |
| 1188 |
(by Matt Duftler) |
| 1189 |
<P> |
| 1190 |
<DD><DL> |
| 1191 |
<DT><B>Parameters:</B><DD><CODE>parentEl</CODE> - the element whose cdata/text node values are to |
| 1192 |
be combined. |
| 1193 |
<DT><B>Returns:</B><DD>the concatanated string.</DL> |
| 1194 |
</DD> |
| 1195 |
</DL> |
| 1196 |
<HR> |
| 1197 |
|
| 1198 |
<A NAME="getInputSourceFromURI(java.lang.String)"><!-- --></A><H3> |
| 1199 |
getInputSourceFromURI</H3> |
| 1200 |
<PRE> |
| 1201 |
public static org.xml.sax.InputSource <B>getInputSourceFromURI</B>(java.lang.String uri)</PRE> |
| 1202 |
<DL> |
| 1203 |
<DD>Utility to get the bytes uri. |
| 1204 |
Does NOT handle authenticated URLs, |
| 1205 |
use getInputSourceFromURI(uri, username, password) |
| 1206 |
<P> |
| 1207 |
<DD><DL> |
| 1208 |
<DT><B>Parameters:</B><DD><CODE>uri</CODE> - the resource to get<DT><B>See Also:</B><DD><CODE>#getInputSourceFromURI(String uri, String username, String password)</CODE></DL> |
| 1209 |
</DD> |
| 1210 |
</DL> |
| 1211 |
<HR> |
| 1212 |
|
| 1213 |
<A NAME="sourceToInputSource(javax.xml.transform.Source)"><!-- --></A><H3> |
| 1214 |
sourceToInputSource</H3> |
| 1215 |
<PRE> |
| 1216 |
public static org.xml.sax.InputSource <B>sourceToInputSource</B>(javax.xml.transform.Source source)</PRE> |
| 1217 |
<DL> |
| 1218 |
<DD>Utility to get the bytes uri |
| 1219 |
<P> |
| 1220 |
<DD><DL> |
| 1221 |
<DT><B>Parameters:</B><DD><CODE>source</CODE> - the resource to get</DL> |
| 1222 |
</DD> |
| 1223 |
</DL> |
| 1224 |
<HR> |
| 1225 |
|
| 1226 |
<A NAME="base64encode(byte[])"><!-- --></A><H3> |
| 1227 |
base64encode</H3> |
| 1228 |
<PRE> |
| 1229 |
public static final java.lang.String <B>base64encode</B>(byte[] bytes)</PRE> |
| 1230 |
<DL> |
| 1231 |
<DD><DL> |
| 1232 |
</DL> |
| 1233 |
</DD> |
| 1234 |
</DL> |
| 1235 |
<HR> |
| 1236 |
|
| 1237 |
<A NAME="getEmptyInputSource()"><!-- --></A><H3> |
| 1238 |
getEmptyInputSource</H3> |
| 1239 |
<PRE> |
| 1240 |
public static org.xml.sax.InputSource <B>getEmptyInputSource</B>()</PRE> |
| 1241 |
<DL> |
| 1242 |
<DD><DL> |
| 1243 |
</DL> |
| 1244 |
</DD> |
| 1245 |
</DL> |
| 1246 |
<HR> |
| 1247 |
|
| 1248 |
<A NAME="findNode(org.w3c.dom.Node, javax.xml.namespace.QName)"><!-- --></A><H3> |
| 1249 |
findNode</H3> |
| 1250 |
<PRE> |
| 1251 |
public static org.w3c.dom.Node <B>findNode</B>(org.w3c.dom.Node node, |
| 1252 |
<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> name)</PRE> |
| 1253 |
<DL> |
| 1254 |
<DD>Find a Node with a given QName |
| 1255 |
<P> |
| 1256 |
<DD><DL> |
| 1257 |
<DT><B>Parameters:</B><DD><CODE>node</CODE> - parent node<DD><CODE>name</CODE> - QName of the child we need to find |
| 1258 |
<DT><B>Returns:</B><DD>child node</DL> |
| 1259 |
</DD> |
| 1260 |
</DL> |
| 1261 |
<HR> |
| 1262 |
|
| 1263 |
<A NAME="normalize(org.w3c.dom.Node)"><!-- --></A><H3> |
| 1264 |
normalize</H3> |
| 1265 |
<PRE> |
| 1266 |
public static void <B>normalize</B>(org.w3c.dom.Node node)</PRE> |
| 1267 |
<DL> |
| 1268 |
<DD>Trim all new lines from text nodes. |
| 1269 |
<P> |
| 1270 |
<DD><DL> |
| 1271 |
<DT><B>Parameters:</B><DD><CODE>node</CODE> - </DL> |
| 1272 |
</DD> |
| 1273 |
</DL> |
| 1274 |
<HR> |
| 1275 |
|
| 1276 |
<A NAME="trim(java.lang.String)"><!-- --></A><H3> |
| 1277 |
trim</H3> |
| 1278 |
<PRE> |
| 1279 |
public static java.lang.String <B>trim</B>(java.lang.String str)</PRE> |
| 1280 |
<DL> |
| 1281 |
<DD><DL> |
| 1282 |
</DL> |
| 1283 |
</DD> |
| 1284 |
</DL> |
| 1285 |
<HR> |
| 1286 |
|
| 1287 |
<A NAME="asElementArray(java.util.List)"><!-- --></A><H3> |
| 1288 |
asElementArray</H3> |
| 1289 |
<PRE> |
| 1290 |
public static org.w3c.dom.Element[] <B>asElementArray</B>(java.util.List list)</PRE> |
| 1291 |
<DL> |
| 1292 |
<DD>Converts a List with org.w3c.dom.Element objects to an Array |
| 1293 |
with org.w3c.dom.Element objects. |
| 1294 |
<P> |
| 1295 |
<DD><DL> |
| 1296 |
<DT><B>Parameters:</B><DD><CODE>list</CODE> - List containing org.w3c.dom.Element objects |
| 1297 |
<DT><B>Returns:</B><DD>Element[] Array with org.w3c.dom.Element objects</DL> |
| 1298 |
</DD> |
| 1299 |
</DL> |
| 1300 |
<HR> |
| 1301 |
|
| 1302 |
<A NAME="getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext)"><!-- --></A><H3> |
| 1303 |
getEncoding</H3> |
| 1304 |
<PRE> |
| 1305 |
public static java.lang.String <B>getEncoding</B>(<A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A> message, |
| 1306 |
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext)</PRE> |
| 1307 |
<DL> |
| 1308 |
<DD><DL> |
| 1309 |
</DL> |
| 1310 |
</DD> |
| 1311 |
</DL> |
| 1312 |
<HR> |
| 1313 |
|
| 1314 |
<A NAME="getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext, org.apache.axis.components.encoding.XMLEncoder)"><!-- --></A><H3> |
| 1315 |
getEncoding</H3> |
| 1316 |
<PRE> |
| 1317 |
public static java.lang.String <B>getEncoding</B>(<A HREF="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</A> message, |
| 1318 |
<A HREF="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</A> msgContext, |
| 1319 |
<A HREF="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</A> defaultEncoder)</PRE> |
| 1320 |
<DL> |
| 1321 |
<DD><DL> |
| 1322 |
</DL> |
| 1323 |
</DD> |
| 1324 |
</DL> |
| 1325 |
<!-- ========= END OF CLASS DATA ========= --> |
| 1326 |
<HR> |
| 1327 |
|
| 1328 |
|
| 1329 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 1330 |
<A NAME="navbar_bottom"><!-- --></A> |
| 1331 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 1332 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 1333 |
<TR> |
| 1334 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 1335 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 1336 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 1337 |
<TR ALIGN="center" VALIGN="top"> |
| 1338 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 1339 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 1340 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 1341 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/XMLUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 1342 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 1343 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 1344 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 1345 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 1346 |
</TR> |
| 1347 |
</TABLE> |
| 1348 |
</TD> |
| 1349 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 1350 |
</EM> |
| 1351 |
</TD> |
| 1352 |
</TR> |
| 1353 |
|
| 1354 |
<TR> |
| 1355 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1356 |
<A HREF="../../../../org/apache/axis/utils/XMLChar.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| 1357 |
<A HREF="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| 1358 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1359 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| 1360 |
<A HREF="XMLUtils.html" target="_top"><B>NO FRAMES</B></A> |
| 1361 |
<SCRIPT type="text/javascript"> |
| 1362 |
<!-- |
| 1363 |
if(window==top) { |
| 1364 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 1365 |
} |
| 1366 |
//--> |
| 1367 |
</SCRIPT> |
| 1368 |
<NOSCRIPT> |
| 1369 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 1370 |
</NOSCRIPT> |
| 1371 |
|
| 1372 |
</FONT></TD> |
| 1373 |
</TR> |
| 1374 |
<TR> |
| 1375 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1376 |
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 1377 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1378 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 1379 |
</TR> |
| 1380 |
</TABLE> |
| 1381 |
<A NAME="skip-navbar_bottom"></A> |
| 1382 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 1383 |
|
| 1384 |
<HR> |
| 1385 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 1386 |
</BODY> |
| 1387 |
</HTML> |