xmlautil.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 611 行 · 第 1/3 页
HTML
611 行
</DD></DL><HR><A NAME="firstChildElement(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>firstChildElement</H3><PRE>public static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> <B>firstChildElement</B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> parent, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ns, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> lname)</PRE><DL><DD>Returns the first child element of an XML element, or null if there is no first child.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - XML element<DD><CODE>ns</CODE> - Namespace<DD><CODE>lname</CODE> - Local name of child<DT><B>Returns:</B><DD>First child, or null if there is no child element</DL></DD></DL><HR><A NAME="filterChildElements(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>filterChildElements</H3><PRE>public static <A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A>[] <B>filterChildElements</B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> parent, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ns, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> lname)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="textInElement(org.w3c.dom.Element)"><!-- --></A><H3>textInElement</H3><PRE>public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>textInElement</B>(<A HREF="http://java.sun.com/javase/6/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> elem)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="rootThrowable(java.lang.Throwable)"><!-- --></A><H3>rootThrowable</H3><PRE>public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>rootThrowable</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> throwable)</PRE><DL><DD>Finds root MondrianException in exception chain if exists, otherwise the input throwable.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>throwable</CODE> - Exception<DT><B>Returns:</B><DD>Root exception</DL></DD></DL><HR><A NAME="normalizeNumericString(java.lang.String)"><!-- --></A><H3>normalizeNumericString</H3><PRE>public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>normalizeNumericString</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> numericStr)</PRE><DL><DD>Corrects for the differences between numeric strings arising because JDBC drivers use different representations for numbers (<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Double.html" title="class or interface in java.lang"><CODE>Double</CODE></A> vs. <A HREF="http://java.sun.com/javase/6/docs/api/java/math/BigDecimal.html" title="class or interface in java.math"><CODE>BigDecimal</CODE></A>) and these have different toString() behavior. <p>If it contains a decimal point, then strip off trailing '0's. After stripping off the '0's, if there is nothing right of the decimal point, then strip off decimal point.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numericStr</CODE> - Numeric string<DT><B>Returns:</B><DD>Normalized string</DL></DD></DL><HR><A NAME="getMetadataRowset(mondrian.olap.Connection, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3>getMetadataRowset</H3><PRE>public static <A HREF="../../mondrian/xmla/XmlaUtil.MetadataRowset.html" title="class in mondrian.xmla">XmlaUtil.MetadataRowset</A> <B>getMetadataRowset</B>(<A HREF="../../mondrian/olap/Connection.html" title="interface in mondrian.olap">Connection</A> connection, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> catalogName, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> methodName, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>,<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>> restrictionMap)</PRE><DL><DD>Returns a set of column headings and rows for a given metadata request. <p/>Leverages mondrian's implementation of the XML/A specification, and is exposed here for use by mondrian's olap4j driver.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>connection</CODE> - Connection<DD><CODE>catalogName</CODE> - Catalog name<DD><CODE>methodName</CODE> - Metadata method name per XMLA (e.g. "MDSCHEMA_CUBES")<DD><CODE>restrictionMap</CODE> - Restrictions<DT><B>Returns:</B><DD>Set of rows and column headings</DL></DD></DL><HR><A NAME="generateMetamodelJavadoc()"><!-- --></A><H3>generateMetamodelJavadoc</H3><PRE>public static void <B>generateMetamodelJavadoc</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Generates descriptions of the columns returned by each metadata query, in javadoc format, suitable for pasting into <code>OlapDatabaseMetaData</code>.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><a href="http://sourceforge.net/projects/mondrian"><img src="http://sourceforge.net/sflogo.php?group_id=35302&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../mondrian/xmla/XmlaTests.html" title="class in mondrian.xmla"><B>PREV CLASS</B></A> <A HREF="../../mondrian/xmla/XmlaUtil.MetadataRowset.html" title="class in mondrian.xmla"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/xmla/XmlaUtil.html" target="_top"><B>FRAMES</B></A> <A HREF="XmlaUtil.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?