| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>XMLUtils (Apache Axis)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="XMLUtils (Apache Axis)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/XMLUtils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/utils/XMLChar.html" title="class in org.apache.axis.utils"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/utils/XMLUtils.html" target="_top">Frames</a></li> |
| <li><a href="XMLUtils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_class_summary">Nested</a> | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis.utils</div> |
| <h2 title="Class XMLUtils" class="title">Class XMLUtils</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis.utils.XMLUtils</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">XMLUtils</span> |
| extends <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested_class_summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils">XMLUtils.ParserErrorHandler</a></strong></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#enableParserReuse">enableParserReuse</a></strong></code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#httpAuthCharEncoding">httpAuthCharEncoding</a></strong></code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected static org.apache.commons.logging.Log</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#log">log</a></strong></code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#XMLUtils()">XMLUtils</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a>[]</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#asElementArray(java.util.List)">asElementArray</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> list)</code> |
| <div class="block">Converts a List with org.w3c.dom.Element objects to an Array |
| with org.w3c.dom.Element objects.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#base64encode(byte[])">base64encode</a></strong>(byte[] bytes)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToStream(org.w3c.dom.Document,%20java.io.OutputStream)">DocumentToStream</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToString(org.w3c.dom.Document)">DocumentToString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc)</code> |
| <div class="block">turn a whole DOM document into XML</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#DocumentToWriter(org.w3c.dom.Document,%20java.io.Writer)">DocumentToWriter</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#ElementToStream(org.w3c.dom.Element,%20java.io.OutputStream)">ElementToStream</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#ElementToString(org.w3c.dom.Element)">ElementToString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element)</code> |
| <div class="block">turn an element into an XML fragment</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#ElementToWriter(org.w3c.dom.Element,%20java.io.Writer)">ElementToWriter</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#findNode(org.w3c.dom.Node,%20javax.xml.namespace.QName)">findNode</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> node, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> name)</code> |
| <div class="block">Find a Node with a given QName</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getChildCharacterData(org.w3c.dom.Element)">getChildCharacterData</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> parentEl)</code> |
| <div class="block">Concat all the text and cdata node children of this elem and return |
| the resulting text.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/DocumentBuilder.html?is-external=true" title="class or interface in javax.xml.parsers">DocumentBuilder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getDocumentBuilder()">getDocumentBuilder</a></strong>()</code> |
| <div class="block">Gets a DocumentBuilder</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getEmptyInputSource()">getEmptyInputSource</a></strong>()</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding()">getEncoding</a></strong>()</code> |
| <div class="block">Get the current encoding in effect</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.MessageContext)">getEncoding</a></strong>(<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</code> |
| <div class="block">Get the current encoding in effect</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.Message,%20org.apache.axis.MessageContext)">getEncoding</a></strong>(<a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a> message, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getEncoding(org.apache.axis.Message,%20org.apache.axis.MessageContext,%20org.apache.axis.components.encoding.XMLEncoder)">getEncoding</a></strong>(<a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a> message, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext, |
| <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a> defaultEncoder)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getFullQNameFromString(java.lang.String,%20org.w3c.dom.Node)">getFullQNameFromString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</code> |
| <div class="block">Return a QName when passed a string like "foo:bar" by mapping |
| the "foo" prefix to a namespace in the context of the given Node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getInnerXMLString(org.w3c.dom.Element)">getInnerXMLString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element)</code> |
| <div class="block">get the inner XML inside an element as a string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getInputSourceFromURI(java.lang.String)">getInputSourceFromURI</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Utility to get the bytes uri.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getNamespace(java.lang.String,%20org.w3c.dom.Node)">getNamespace</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getNamespace(java.lang.String,%20org.w3c.dom.Node,%20org.w3c.dom.Node)">getNamespace</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> stopNode)</code> |
| <div class="block">Searches for the namespace URI of the given prefix in the given DOM range.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getPrefix(java.lang.String,%20org.w3c.dom.Node)">getPrefix</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getQNameFromString(java.lang.String,%20org.w3c.dom.Node)">getQNameFromString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</code> |
| <div class="block">Return a QName when passed a string like "foo:bar" by mapping |
| the "foo" prefix to a namespace in the context of the given Node.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/SAXParser.html?is-external=true" title="class or interface in javax.xml.parsers">SAXParser</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getSAXParser()">getSAXParser</a></strong>()</code> |
| <div class="block">Get a SAX parser instance from the JAXP factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getStringForQName(javax.xml.namespace.QName,%20org.w3c.dom.Element)">getStringForQName</a></strong>(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qname, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> e)</code> |
| <div class="block">Return a string for a particular QName, mapping a new prefix |
| if necessary.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getXMLEncoder(org.apache.axis.MessageContext)">getXMLEncoder</a></strong>(<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</code> |
| <div class="block">Get the current XMLEncoder</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#getXMLEncoder(java.lang.String)">getXMLEncoder</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding)</code> |
| <div class="block">Get the XMLEncoder for specific encoding</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#initSAXFactory(java.lang.String,%20boolean,%20boolean)">initSAXFactory</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> factoryClassName, |
| boolean namespaceAware, |
| boolean validating)</code> |
| <div class="block">Initialize the SAX parser factory.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#newDocument()">newDocument</a></strong>()</code> |
| <div class="block">Get an empty new Document</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(org.xml.sax.InputSource)">newDocument</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a> inp)</code> |
| <div class="block">Get a new Document read from the input source</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.io.InputStream)">newDocument</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inp)</code> |
| <div class="block">Get a new Document read from the input stream</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.lang.String)">newDocument</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</code> |
| <div class="block">Get a new Document read from the indicated uri</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#newDocument(java.lang.String,%20java.lang.String,%20java.lang.String)">newDocument</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> password)</code> |
| <div class="block">Create a new document from the given URI, use the username and password |
| if the URI requires authentication.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#normalize(org.w3c.dom.Node)">normalize</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> node)</code> |
| <div class="block">Trim all new lines from text nodes.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToStream(org.w3c.dom.Document,%20java.io.OutputStream)">PrettyDocumentToStream</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToString(org.w3c.dom.Document)">PrettyDocumentToString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#PrettyDocumentToWriter(org.w3c.dom.Document,%20java.io.Writer)">PrettyDocumentToWriter</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#PrettyElementToStream(org.w3c.dom.Element,%20java.io.OutputStream)">PrettyElementToStream</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#PrettyElementToWriter(org.w3c.dom.Element,%20java.io.Writer)">PrettyElementToWriter</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#privateElementToWriter(org.w3c.dom.Element,%20java.io.Writer,%20boolean,%20boolean)">privateElementToWriter</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| boolean omitXMLDecl, |
| boolean pretty)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#releaseDocumentBuilder(javax.xml.parsers.DocumentBuilder)">releaseDocumentBuilder</a></strong>(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/DocumentBuilder.html?is-external=true" title="class or interface in javax.xml.parsers">DocumentBuilder</a> db)</code> |
| <div class="block">Releases a DocumentBuilder</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#releaseSAXParser(javax.xml.parsers.SAXParser)">releaseSAXParser</a></strong>(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/SAXParser.html?is-external=true" title="class or interface in javax.xml.parsers">SAXParser</a> parser)</code> |
| <div class="block">Return a SAX parser for reuse.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#sourceToInputSource(javax.xml.transform.Source)">sourceToInputSource</a></strong>(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</a> source)</code> |
| <div class="block">Utility to get the bytes uri</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#StringToElement(java.lang.String,%20java.lang.String,%20java.lang.String)">StringToElement</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code> |
| <div class="block">Convert a simple string to an element with a text node</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#trim(java.lang.String)">trim</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../org/apache/axis/utils/XMLUtils.html#xmlEncodeString(java.lang.String)">xmlEncodeString</a></strong>(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> orig)</code> |
| <div class="block">Encode a string appropriately for XML.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field_detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="log"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>log</h4> |
| <pre>protected static org.apache.commons.logging.Log log</pre> |
| </li> |
| </ul> |
| <a name="httpAuthCharEncoding"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>httpAuthCharEncoding</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> httpAuthCharEncoding</pre> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.axis.utils.XMLUtils.httpAuthCharEncoding">Constant Field Values</a></dd></dl> |
| </li> |
| </ul> |
| <a name="enableParserReuse"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>enableParserReuse</h4> |
| <pre>protected static boolean enableParserReuse</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="XMLUtils()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>XMLUtils</h4> |
| <pre>public XMLUtils()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="xmlEncodeString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>xmlEncodeString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> xmlEncodeString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> orig)</pre> |
| <div class="block">Encode a string appropriately for XML.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>orig</code> - the String to encode</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>a String in which XML special chars are repalced by entities</dd></dl> |
| </li> |
| </ul> |
| <a name="getXMLEncoder(org.apache.axis.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getXMLEncoder</h4> |
| <pre>public static <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a> getXMLEncoder(<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</pre> |
| <div class="block">Get the current XMLEncoder</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>XMLEncoder</dd></dl> |
| </li> |
| </ul> |
| <a name="getXMLEncoder(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getXMLEncoder</h4> |
| <pre>public static <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a> getXMLEncoder(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> encoding)</pre> |
| <div class="block">Get the XMLEncoder for specific encoding</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>XMLEncoder</dd></dl> |
| </li> |
| </ul> |
| <a name="getEncoding(org.apache.axis.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncoding</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncoding(<a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</pre> |
| <div class="block">Get the current encoding in effect</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>string</dd></dl> |
| </li> |
| </ul> |
| <a name="getEncoding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncoding</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncoding()</pre> |
| <div class="block">Get the current encoding in effect</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>string</dd></dl> |
| </li> |
| </ul> |
| <a name="initSAXFactory(java.lang.String, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>initSAXFactory</h4> |
| <pre>public static void initSAXFactory(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> factoryClassName, |
| boolean namespaceAware, |
| boolean validating)</pre> |
| <div class="block">Initialize the SAX parser factory.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>factoryClassName</code> - The (optional) class name of the desired |
| SAXParserFactory implementation. Will be |
| assigned to the system property |
| <b>javax.xml.parsers.SAXParserFactory</b> |
| unless this property is already set. |
| If <code>null</code>, leaves current setting |
| alone.</dd><dd><code>namespaceAware</code> - true if we want a namespace-aware parser</dd><dd><code>validating</code> - true if we want a validating parser</dd></dl> |
| </li> |
| </ul> |
| <a name="getDocumentBuilder()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDocumentBuilder</h4> |
| <pre>public static <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/DocumentBuilder.html?is-external=true" title="class or interface in javax.xml.parsers">DocumentBuilder</a> getDocumentBuilder() |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></pre> |
| <div class="block">Gets a DocumentBuilder</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>DocumentBuilder</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="releaseDocumentBuilder(javax.xml.parsers.DocumentBuilder)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>releaseDocumentBuilder</h4> |
| <pre>public static void releaseDocumentBuilder(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/DocumentBuilder.html?is-external=true" title="class or interface in javax.xml.parsers">DocumentBuilder</a> db)</pre> |
| <div class="block">Releases a DocumentBuilder</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>db</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="getSAXParser()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSAXParser</h4> |
| <pre>public static <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/SAXParser.html?is-external=true" title="class or interface in javax.xml.parsers">SAXParser</a> getSAXParser()</pre> |
| <div class="block">Get a SAX parser instance from the JAXP factory.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a SAXParser instance.</dd></dl> |
| </li> |
| </ul> |
| <a name="releaseSAXParser(javax.xml.parsers.SAXParser)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>releaseSAXParser</h4> |
| <pre>public static void releaseSAXParser(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/SAXParser.html?is-external=true" title="class or interface in javax.xml.parsers">SAXParser</a> parser)</pre> |
| <div class="block">Return a SAX parser for reuse.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>parser</code> - A SAX parser that is available for reuse</dd></dl> |
| </li> |
| </ul> |
| <a name="newDocument()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDocument</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> newDocument() |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></pre> |
| <div class="block">Get an empty new Document</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Document</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code> - if construction problems occur</dd></dl> |
| </li> |
| </ul> |
| <a name="newDocument(org.xml.sax.InputSource)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDocument</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> newDocument(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a> inp) |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Get a new Document read from the input source</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Document</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code> - if construction problems occur</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a></code> - if the document has xml sax problems</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if i/o exceptions occur</dd></dl> |
| </li> |
| </ul> |
| <a name="newDocument(java.io.InputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDocument</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> newDocument(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inp) |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Get a new Document read from the input stream</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Document</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code> - if construction problems occur</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a></code> - if the document has xml sax problems</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if i/o exceptions occur</dd></dl> |
| </li> |
| </ul> |
| <a name="newDocument(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDocument</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> newDocument(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri) |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Get a new Document read from the indicated uri</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>Document</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code> - if construction problems occur</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a></code> - if the document has xml sax problems</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if i/o exceptions occur</dd></dl> |
| </li> |
| </ul> |
| <a name="newDocument(java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>newDocument</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> newDocument(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> password) |
| throws <a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a>, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> |
| <div class="block">Create a new document from the given URI, use the username and password |
| if the URI requires authentication.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - the resource to get</dd><dd><code>username</code> - basic auth username</dd><dd><code>password</code> - basic auth password</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javaee/1.4/api/javax/xml/parsers/ParserConfigurationException.html?is-external=true" title="class or interface in javax.xml.parsers">ParserConfigurationException</a></code> - if construction problems occur</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</a></code> - if the document has xml sax problems</dd> |
| <dd><code><a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if i/o exceptions occur</dd></dl> |
| </li> |
| </ul> |
| <a name="ElementToString(org.w3c.dom.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ElementToString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> ElementToString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element)</pre> |
| <div class="block">turn an element into an XML fragment</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>stringified element</dd></dl> |
| </li> |
| </ul> |
| <a name="DocumentToString(org.w3c.dom.Document)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DocumentToString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> DocumentToString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc)</pre> |
| <div class="block">turn a whole DOM document into XML</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>doc</code> - DOM document</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>string representation of the document, including XML declaration</dd></dl> |
| </li> |
| </ul> |
| <a name="PrettyDocumentToString(org.w3c.dom.Document)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PrettyDocumentToString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PrettyDocumentToString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc)</pre> |
| </li> |
| </ul> |
| <a name="privateElementToWriter(org.w3c.dom.Element, java.io.Writer, boolean, boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>privateElementToWriter</h4> |
| <pre>public static void privateElementToWriter(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer, |
| boolean omitXMLDecl, |
| boolean pretty)</pre> |
| </li> |
| </ul> |
| <a name="ElementToStream(org.w3c.dom.Element, java.io.OutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ElementToStream</h4> |
| <pre>public static void ElementToStream(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</pre> |
| </li> |
| </ul> |
| <a name="PrettyElementToStream(org.w3c.dom.Element, java.io.OutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PrettyElementToStream</h4> |
| <pre>public static void PrettyElementToStream(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</pre> |
| </li> |
| </ul> |
| <a name="ElementToWriter(org.w3c.dom.Element, java.io.Writer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ElementToWriter</h4> |
| <pre>public static void ElementToWriter(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| </li> |
| </ul> |
| <a name="PrettyElementToWriter(org.w3c.dom.Element, java.io.Writer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PrettyElementToWriter</h4> |
| <pre>public static void PrettyElementToWriter(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| </li> |
| </ul> |
| <a name="DocumentToStream(org.w3c.dom.Document, java.io.OutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DocumentToStream</h4> |
| <pre>public static void DocumentToStream(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</pre> |
| </li> |
| </ul> |
| <a name="PrettyDocumentToStream(org.w3c.dom.Document, java.io.OutputStream)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PrettyDocumentToStream</h4> |
| <pre>public static void PrettyDocumentToStream(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</pre> |
| </li> |
| </ul> |
| <a name="DocumentToWriter(org.w3c.dom.Document, java.io.Writer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DocumentToWriter</h4> |
| <pre>public static void DocumentToWriter(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| </li> |
| </ul> |
| <a name="PrettyDocumentToWriter(org.w3c.dom.Document, java.io.Writer)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>PrettyDocumentToWriter</h4> |
| <pre>public static void PrettyDocumentToWriter(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</pre> |
| </li> |
| </ul> |
| <a name="StringToElement(java.lang.String, java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>StringToElement</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> StringToElement(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</pre> |
| <div class="block">Convert a simple string to an element with a text node</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>namespace</code> - - element namespace</dd><dd><code>name</code> - - element name</dd><dd><code>string</code> - - value of the text node</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>element - an XML Element, null if no element was created</dd></dl> |
| </li> |
| </ul> |
| <a name="getInnerXMLString(org.w3c.dom.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInnerXMLString</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getInnerXMLString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> element)</pre> |
| <div class="block">get the inner XML inside an element as a string. This is done by |
| converting the XML to its string representation, then extracting the |
| subset between beginning and end tags.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>element</code> - </dd> |
| <dt><span class="strong">Returns:</span></dt><dd>textual body of the element, or null for no inner body</dd></dl> |
| </li> |
| </ul> |
| <a name="getPrefix(java.lang.String, org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPrefix</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPrefix(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</pre> |
| </li> |
| </ul> |
| <a name="getNamespace(java.lang.String, org.w3c.dom.Node, org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNamespace</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getNamespace(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> stopNode)</pre> |
| <div class="block">Searches for the namespace URI of the given prefix in the given DOM range. |
| |
| The namespace is not searched in parent of the "stopNode". This is |
| usefull to get all the needed namespaces when you need to ouput only a |
| subtree of a DOM document.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - the prefix to find</dd><dd><code>e</code> - the starting node</dd><dd><code>stopNode</code> - null to search in all the document or a parent node where the search must stop.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>null if no namespace is found, or the namespace URI.</dd></dl> |
| </li> |
| </ul> |
| <a name="getNamespace(java.lang.String, org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNamespace</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getNamespace(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> prefix, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</pre> |
| </li> |
| </ul> |
| <a name="getQNameFromString(java.lang.String, org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getQNameFromString</h4> |
| <pre>public static <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getQNameFromString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</pre> |
| <div class="block">Return a QName when passed a string like "foo:bar" by mapping |
| the "foo" prefix to a namespace in the context of the given Node.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a QName generated from the given string representation</dd></dl> |
| </li> |
| </ul> |
| <a name="getFullQNameFromString(java.lang.String, org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFullQNameFromString</h4> |
| <pre>public static <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> getFullQNameFromString(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> e)</pre> |
| <div class="block">Return a QName when passed a string like "foo:bar" by mapping |
| the "foo" prefix to a namespace in the context of the given Node. |
| If default namespace is found it is returned as part of the QName.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>a QName generated from the given string representation</dd></dl> |
| </li> |
| </ul> |
| <a name="getStringForQName(javax.xml.namespace.QName, org.w3c.dom.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStringForQName</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringForQName(<a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> qname, |
| <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> e)</pre> |
| <div class="block">Return a string for a particular QName, mapping a new prefix |
| if necessary.</div> |
| </li> |
| </ul> |
| <a name="getChildCharacterData(org.w3c.dom.Element)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getChildCharacterData</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getChildCharacterData(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> parentEl)</pre> |
| <div class="block">Concat all the text and cdata node children of this elem and return |
| the resulting text. |
| (by Matt Duftler)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>parentEl</code> - the element whose cdata/text node values are to |
| be combined.</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the concatanated string.</dd></dl> |
| </li> |
| </ul> |
| <a name="getInputSourceFromURI(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInputSourceFromURI</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a> getInputSourceFromURI(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> uri)</pre> |
| <div class="block">Utility to get the bytes uri. |
| Does NOT handle authenticated URLs, |
| use getInputSourceFromURI(uri, username, password)</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - the resource to get</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/axis/utils/XMLUtils.html#getInputSourceFromURI(java.lang.String,%20java.lang.String,%20java.lang.String)"><code>getInputSourceFromURI(String uri, String username, String password)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="sourceToInputSource(javax.xml.transform.Source)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>sourceToInputSource</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a> sourceToInputSource(<a href="http://download.oracle.com/javaee/1.4/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</a> source)</pre> |
| <div class="block">Utility to get the bytes uri</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - the resource to get</dd></dl> |
| </li> |
| </ul> |
| <a name="base64encode(byte[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>base64encode</h4> |
| <pre>public static final <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> base64encode(byte[] bytes)</pre> |
| </li> |
| </ul> |
| <a name="getEmptyInputSource()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEmptyInputSource</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/xml/sax/InputSource.html?is-external=true" title="class or interface in org.xml.sax">InputSource</a> getEmptyInputSource()</pre> |
| </li> |
| </ul> |
| <a name="findNode(org.w3c.dom.Node, javax.xml.namespace.QName)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>findNode</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> findNode(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> node, |
| <a href="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</a> name)</pre> |
| <div class="block">Find a Node with a given QName</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - parent node</dd><dd><code>name</code> - QName of the child we need to find</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>child node</dd></dl> |
| </li> |
| </ul> |
| <a name="normalize(org.w3c.dom.Node)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>normalize</h4> |
| <pre>public static void normalize(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Node.html?is-external=true" title="class or interface in org.w3c.dom">Node</a> node)</pre> |
| <div class="block">Trim all new lines from text nodes.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - </dd></dl> |
| </li> |
| </ul> |
| <a name="trim(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>trim</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trim(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</pre> |
| </li> |
| </ul> |
| <a name="asElementArray(java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>asElementArray</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a>[] asElementArray(<a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> list)</pre> |
| <div class="block">Converts a List with org.w3c.dom.Element objects to an Array |
| with org.w3c.dom.Element objects.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>list</code> - List containing org.w3c.dom.Element objects</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Element[] Array with org.w3c.dom.Element objects</dd></dl> |
| </li> |
| </ul> |
| <a name="getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEncoding</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncoding(<a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a> message, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext)</pre> |
| </li> |
| </ul> |
| <a name="getEncoding(org.apache.axis.Message, org.apache.axis.MessageContext, org.apache.axis.components.encoding.XMLEncoder)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getEncoding</h4> |
| <pre>public static <a href="http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEncoding(<a href="../../../../org/apache/axis/Message.html" title="class in org.apache.axis">Message</a> message, |
| <a href="../../../../org/apache/axis/MessageContext.html" title="class in org.apache.axis">MessageContext</a> msgContext, |
| <a href="../../../../org/apache/axis/components/encoding/XMLEncoder.html" title="interface in org.apache.axis.components.encoding">XMLEncoder</a> defaultEncoder)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/XMLUtils.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/axis/utils/XMLChar.html" title="class in org.apache.axis.utils"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/axis/utils/XMLUtils.ParserErrorHandler.html" title="class in org.apache.axis.utils"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/axis/utils/XMLUtils.html" target="_top">Frames</a></li> |
| <li><a href="XMLUtils.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested_class_summary">Nested</a> | </li> |
| <li><a href="#field_summary">Field</a> | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field_detail">Field</a> | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |