xmlutil.html

来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 1,144 行 · 第 1/5 页

HTML
1,144
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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, org.w3c.dom.Node)">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>&nbsp;node,               <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;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>&nbsp;namespaceNode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#supportsValidation()">supportsValidation</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the XML parser supports validation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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#toString(org.w3c.dom.Node, boolean)">toString</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>&nbsp;node,         boolean&nbsp;prettyPrint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert a Node to a String.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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#transform(org.w3c.dom.Document, java.io.Reader)">transform</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>&nbsp;inDoc,          <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A>&nbsp;xslReader)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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#transform(org.w3c.dom.Document, java.io.Reader, java.lang.String[][])">transform</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>&nbsp;inDoc,          <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Reader.html" title="class or interface in java.io">Reader</A>&nbsp;xslReader,          <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[][]&nbsp;namevalueParameters)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transform a Document and return the transformed Node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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#transform(org.w3c.dom.Document, java.lang.String)">transform</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>&nbsp;inDoc,          <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;xslFileName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<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#transform(org.w3c.dom.Document, java.lang.String, java.lang.String[][])">transform</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>&nbsp;inDoc,          <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;xslFileName,          <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[][]&nbsp;namevalueParameters)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transform a Document and return the transformed Node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#validate(org.w3c.dom.Document, java.lang.String, org.xml.sax.EntityResolver)">validate</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>&nbsp;doc,         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;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>&nbsp;resolver)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../mondrian/tui/XmlUtil.html#validate(java.lang.String, java.lang.String, org.xml.sax.EntityResolver)">validate</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>&nbsp;docStr,         <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;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>&nbsp;resolver)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="LINE_SEP"><!-- --></A><H3>LINE_SEP</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>LINE_SEP</B></PRE><DL><DL></DL></DL><HR><A NAME="SOAP_PREFIX"><!-- --></A><H3>SOAP_PREFIX</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SOAP_PREFIX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.SOAP_PREFIX">Constant Field Values</A></DL></DL><HR><A NAME="XSD_PREFIX"><!-- --></A><H3>XSD_PREFIX</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>XSD_PREFIX</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.XSD_PREFIX">Constant Field Values</A></DL></DL><HR><A NAME="XMLNS"><!-- --></A><H3>XMLNS</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>XMLNS</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.XMLNS">Constant Field Values</A></DL></DL><HR><A NAME="NAMESPACES_FEATURE_ID"><!-- --></A><H3>NAMESPACES_FEATURE_ID</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>NAMESPACES_FEATURE_ID</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.NAMESPACES_FEATURE_ID">Constant Field Values</A></DL></DL><HR><A NAME="VALIDATION_FEATURE_ID"><!-- --></A><H3>VALIDATION_FEATURE_ID</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>VALIDATION_FEATURE_ID</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.VALIDATION_FEATURE_ID">Constant Field Values</A></DL></DL><HR><A NAME="SCHEMA_VALIDATION_FEATURE_ID"><!-- --></A><H3>SCHEMA_VALIDATION_FEATURE_ID</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SCHEMA_VALIDATION_FEATURE_ID</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.SCHEMA_VALIDATION_FEATURE_ID">Constant Field Values</A></DL></DL><HR><A NAME="FULL_SCHEMA_VALIDATION_FEATURE_ID"><!-- --></A><H3>FULL_SCHEMA_VALIDATION_FEATURE_ID</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>FULL_SCHEMA_VALIDATION_FEATURE_ID</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.FULL_SCHEMA_VALIDATION_FEATURE_ID">Constant Field Values</A></DL></DL><HR><A NAME="DEFER_NODE_EXPANSION"><!-- --></A><H3>DEFER_NODE_EXPANSION</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>DEFER_NODE_EXPANSION</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.DEFER_NODE_EXPANSION">Constant Field Values</A></DL></DL><HR><A NAME="SCHEMA_LOCATION"><!-- --></A><H3>SCHEMA_LOCATION</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>SCHEMA_LOCATION</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../constant-values.html#mondrian.tui.XmlUtil.SCHEMA_LOCATION">Constant Field Values</A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getSoapXmlaXds2xd(java.lang.String)"><!-- --></A><H3>getSoapXmlaXds2xd</H3><PRE>public static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getSoapXmlaXds2xd</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;xmlaPrefix)</PRE><DL><DD>This is the xslt that can extract the "data" part of a SOAP XMLA response.<P><DD><DL>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?