xmlutil.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,144 行 · 第 1/5 页
HTML
1,144 行
<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#convertToNodes(org.w3c.dom.xpath.XPathResult)">convertToNodes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/xpath.XPathResult.html" title="class or interface in org.w3c.dom">org.w3c.dom.xpath.XPathResult</A> xpathResult)</CODE><BR> Convert an XPathResult to an array of Nodes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#convertToString(org.w3c.dom.xpath.XPathResult, boolean)">convertToString</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/xpath.XPathResult.html" title="class or interface in org.w3c.dom">org.w3c.dom.xpath.XPathResult</A> xpathResult, boolean prettyPrint)</CODE><BR> Convert an XPathResult object to String.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#createContextDocument(java.lang.String[][])">createContextDocument</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[][] nsArray)</CODE><BR> Create a context document for use in performing XPath operations.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getNamespaceAttributeValue(org.w3c.dom.Document)">getNamespaceAttributeValue</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A> doc)</CODE><BR> This is used to get a Document's namespace attribute value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static org.apache.xerces.parsers.DOMParser</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getParser(java.lang.String, org.xml.sax.EntityResolver, boolean)">getParser</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> schemaLocationPropertyValue, <A HREF="http://java.sun.com/javase/6/docs/api/org/xml/sax/EntityResolver.html" title="class or interface in org.xml.sax">EntityResolver</A> entityResolver, boolean validate)</CODE><BR> Get your non-cached DOM parser which can be configured to do schema based validation of the instance Document.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getSoapXmlaXds2xd(java.lang.String)">getSoapXmlaXds2xd</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xmlaPrefix)</CODE><BR> This is the xslt that can extract the "data" part of a SOAP XMLA response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getSoapXmlaXds2xs(java.lang.String)">getSoapXmlaXds2xs</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xmlaPrefix)</CODE><BR> This is the xslt that can extract the "schema" part of a SOAP XMLA response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/javax/xml/transform/TransformerFactory.html" title="class or interface in javax.xml.transform">TransformerFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getTransformerFactory()">getTransformerFactory</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getXercesVersion()">getXercesVersion</A></B>()</CODE><BR> Get the Xerces version being used.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getXercesVersionNumbers()">getXercesVersionNumbers</A></B>()</CODE><BR> Gets the Xerces version numbers as a three part array of ints where the first element is the major release number, the second is the minor release number, and the third is the patch number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getXercesVersionNumberString()">getXercesVersionNumberString</A></B>()</CODE><BR> Get the number part of the Xerces Version string.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getXmlaXds2xd(java.lang.String)">getXmlaXds2xd</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ns)</CODE><BR> This is the xslt that can extract the "data" part of a XMLA response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#getXmlaXds2xs(java.lang.String)">getXmlaXds2xs</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ns)</CODE><BR> This is the xslt that can extract the "schema" part of a XMLA response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#makeRootPathInSoapBody()">makeRootPathInSoapBody</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#makeRootPathInSoapBody(java.lang.String, java.lang.String)">makeRootPathInSoapBody</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xmlaPrefix, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xsdPrefix)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#makeSoapPath()">makeSoapPath</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#makeSoapPath(java.lang.String)">makeSoapPath</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> prefix)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#newDocument(org.w3c.dom.Node, boolean)">newDocument</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> firstElement, boolean deepcopy)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#parse(byte[])">parse</A></B>(byte[] bytes)</CODE><BR> Parse a byte array into a Document (no validation).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#parse(java.io.File)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/File.html" title="class or interface in java.io">File</A> file)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#parse(java.io.InputStream)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html" title="class or interface in java.io">InputStream</A> in)</CODE><BR> Parse a stream into a Document (no validation).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Document.html" title="class or interface in org.w3c.dom">Document</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#parseString(java.lang.String)">parseString</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> s)</CODE><BR> Parse a String into a Document (no validation).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/xpath.XPathResult.html" title="class or interface in org.w3c.dom">org.w3c.dom.xpath.XPathResult</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#select(org.w3c.dom.Node, java.lang.String, org.w3c.dom.Node)">select</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> contextNode, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath, <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> namespaceNode)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#selectAsNodes(org.w3c.dom.Node, java.lang.String)">selectAsNodes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> node, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#selectAsNodes(org.w3c.dom.Node, java.lang.String, org.w3c.dom.Node)">selectAsNodes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> node, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath, <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> namespaceNode)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#selectAsString(org.w3c.dom.Node, java.lang.String)">selectAsString</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Node.html" title="class or interface in org.w3c.dom">Node</A> node, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> xpath)</CODE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?