abstractrecorder.html
来自「基于mondrian 开源框架进行OLAP多维分析」· HTML 代码 · 共 927 行 · 第 1/3 页
HTML
927 行
getContext</H3><PRE>public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getContext</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#getContext()">MessageRecorder</A></CODE></B></DD><DD>Get the current context string.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#getContext()">getContext</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the context string.</DL></DD></DL><HR><A NAME="pushContextName(java.lang.String)"><!-- --></A><H3>pushContextName</H3><PRE>public void <B>pushContextName</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#pushContextName(java.lang.String)">MessageRecorder</A></CODE></B></DD><DD>Add the name parameter to the current context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#pushContextName(java.lang.String)">pushContextName</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="popContextName()"><!-- --></A><H3>popContextName</H3><PRE>public void <B>popContextName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#popContextName()">MessageRecorder</A></CODE></B></DD><DD>Remove the last context name added.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#popContextName()">popContextName</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="throwRTException()"><!-- --></A><H3>throwRTException</H3><PRE>public void <B>throwRTException</B>() throws <A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#throwRTException()">MessageRecorder</A></CODE></B></DD><DD>This simply throws a RTException. A client calls this if 1) there is one or more error messages reported and 2) the client wishes to stop processing. Implementations of this method should only throw the RTException if there have been errors reported - if there are no errors, then this method does nothing.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#throwRTException()">throwRTException</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></CODE></DL></DD></DL><HR><A NAME="reportError(java.lang.Exception)"><!-- --></A><H3>reportError</H3><PRE>public void <B>reportError</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> ex) throws <A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.Exception)">MessageRecorder</A></CODE></B></DD><DD>Add an Exception.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.Exception)">reportError</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ex</CODE> - the Exception added.<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></CODE> - if too many error messages have been added.</DL></DD></DL><HR><A NAME="reportError(java.lang.Exception, java.lang.Object)"><!-- --></A><H3>reportError</H3><PRE>public void <B>reportError</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html" title="class or interface in java.lang">Exception</A> ex, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> info) throws <A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.Exception, java.lang.Object)">MessageRecorder</A></CODE></B></DD><DD>Add an Exception and extra informaton.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.Exception, java.lang.Object)">reportError</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ex</CODE> - the Exception added.<DD><CODE>info</CODE> - extra information (not meant to be part of printed message)<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></CODE> - if too many error messages have been added.</DL></DD></DL><HR><A NAME="reportError(java.lang.String)"><!-- --></A><H3>reportError</H3><PRE>public void <B>reportError</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg) throws <A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.String)">MessageRecorder</A></CODE></B></DD><DD>Add an error message.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.String)">reportError</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the error message.<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></CODE> - if too many error messages have been added.</DL></DD></DL><HR><A NAME="reportError(java.lang.String, java.lang.Object)"><!-- --></A><H3>reportError</H3><PRE>public void <B>reportError</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> info) throws <A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.String, java.lang.Object)">MessageRecorder</A></CODE></B></DD><DD>Add an error message and extra information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportError(java.lang.String, java.lang.Object)">reportError</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the error message.<DD><CODE>info</CODE> - extra information (not meant to be part of printed message)<DT><B>Throws:</B><DD><CODE><A HREF="../../mondrian/recorder/RecorderException.html" title="class in mondrian.recorder">RecorderException</A></CODE> - if too many error messages have been added.</DL></DD></DL><HR><A NAME="reportWarning(java.lang.String)"><!-- --></A><H3>reportWarning</H3><PRE>public void <B>reportWarning</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportWarning(java.lang.String)">MessageRecorder</A></CODE></B></DD><DD>Add a warning message.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportWarning(java.lang.String)">reportWarning</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the warning message.</DL></DD></DL><HR><A NAME="reportWarning(java.lang.String, java.lang.Object)"><!-- --></A><H3>reportWarning</H3><PRE>public void <B>reportWarning</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> info)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportWarning(java.lang.String, java.lang.Object)">MessageRecorder</A></CODE></B></DD><DD>Add a warning message and extra information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportWarning(java.lang.String, java.lang.Object)">reportWarning</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the warning message.<DD><CODE>info</CODE> - extra information (not meant to be part of printed message)</DL></DD></DL><HR><A NAME="reportInfo(java.lang.String)"><!-- --></A><H3>reportInfo</H3><PRE>public void <B>reportInfo</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportInfo(java.lang.String)">MessageRecorder</A></CODE></B></DD><DD>Add an informational message.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportInfo(java.lang.String)">reportInfo</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the info message.</DL></DD></DL><HR><A NAME="reportInfo(java.lang.String, java.lang.Object)"><!-- --></A><H3>reportInfo</H3><PRE>public void <B>reportInfo</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> info)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportInfo(java.lang.String, java.lang.Object)">MessageRecorder</A></CODE></B></DD><DD>Add an informational message and extra information.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../mondrian/recorder/MessageRecorder.html#reportInfo(java.lang.String, java.lang.Object)">reportInfo</A></CODE> in interface <CODE><A HREF="../../mondrian/recorder/MessageRecorder.html" title="interface in mondrian.recorder">MessageRecorder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the text of the info message.<DD><CODE>info</CODE> - extra information (not meant to be part of printed message)</DL></DD></DL><HR><A NAME="recordMessage(java.lang.String, java.lang.Object, mondrian.recorder.AbstractRecorder.MsgType)"><!-- --></A><H3>recordMessage</H3><PRE>protected abstract void <B>recordMessage</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> msg, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> info, <A HREF="../../mondrian/recorder/AbstractRecorder.MsgType.html" title="enum in mondrian.recorder">AbstractRecorder.MsgType</A> msgType)</PRE><DL><DD>Handles a message. Classes implementing this abstract class must provide an implemention of this method; it receives all warning/error messages.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>msg</CODE> - the error or warning message.<DD><CODE>info</CODE> - the information Object which might be null.<DD><CODE>msgType</CODE> - one of the message type enum values</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"> PREV CLASS <A HREF="../../mondrian/recorder/AbstractRecorder.MsgType.html" title="enum in mondrian.recorder"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?mondrian/recorder/AbstractRecorder.html" target="_top"><B>FRAMES</B></A> <A HREF="AbstractRecorder.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> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -
显示快捷键?