blob: ae1c90c35ed21bcf9301c76bb45189318f764b74 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.core.internal.util</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.core.internal.util</strong></font><br>
Class Debug</h2><br><hr><pre>public class <strong>Debug</strong>
extends java.lang.Object</pre>Debug Class is used to determine when Debugging output to system out.<p></p><hr><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Field Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_checkForMemoryLeaks">checkForMemoryLeaks</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_collectStats">collectStats</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static int</code></td><td width="80%" align="left"><code><a href="#field_DEBUG">DEBUG</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_DEBUG_THREADLOCAL">DEBUG_THREADLOCAL</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugBreakpoints">debugBreakpoints</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugCaretMediator">debugCaretMediator</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugDisplayTreePositions">debugDisplayTreePositions</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugLauncher">debugLauncher</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugMediator">debugMediator</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugNotification">debugNotification</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugNotificationAndEvents">debugNotificationAndEvents</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugNotifyDeferred">debugNotifyDeferred</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugReconciling">debugReconciling</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugRtfFormatProvider">debugRtfFormatProvider</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugStructuredDocument">debugStructuredDocument</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugTaglibs">debugTaglibs</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugTokenizer">debugTokenizer</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugTreeModel">debugTreeModel</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugUpdateTreePositions">debugUpdateTreePositions</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_debugXSLModel">debugXSLModel</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Output Modeling Messages.</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_displayInfo">displayInfo</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_displayToConsole">displayToConsole</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
effects output of Logger</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_displayWarnings">displayWarnings</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_headParsing">headParsing</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_jsDebugContextAssist">jsDebugContextAssist</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_jsDebugSyntaxColoring">jsDebugSyntaxColoring</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_LOCKS">LOCKS</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTest">perfTest</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTestAdapterClassLoading">perfTestAdapterClassLoading</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTestFormat">perfTestFormat</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTestRawStructuredDocumentOnly">perfTestRawStructuredDocumentOnly</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTestStructuredDocumentEventOnly">perfTestStructuredDocumentEventOnly</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_perfTestStructuredDocumentOnly">perfTestStructuredDocumentOnly</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_syntaxHighlighting">syntaxHighlighting</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static boolean</code></td><td width="80%" align="left"><code><a href="#field_useStandardEolInWidget">useStandardEolInWidget</a></code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><br><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_Debug">Debug</a></strong>()</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code><a href="#method_dump">dump</a>(IStructuredDocument structuredDocument)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
For tests and debug only</td></tr><tr valign="top"><td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code><a href="#method_dump">dump</a>(IStructuredDocument structuredDocument
,
boolean verbose)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code><a href="#method_dump">dump</a>(ITextRegionCollection region
,
boolean verbose)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static void</code></td><td width="" align="left"><code><a href="#method_println">println</a>(java.lang.String msg)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Simple utility to make sure println's are some what in order</td></tr><tr valign="top"><td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code><a href="#method_toStringUtil">toStringUtil</a>(IStructuredDocument object)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public static java.lang.String</code></td><td width="" align="left"><code><a href="#method_toStringUtil">toStringUtil</a>(ITextRegionCollection object)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Field Detail
</h2></td></tr></table><h2><a name="field_checkForMemoryLeaks">checkForMemoryLeaks</a></h2><p><code>public static boolean <strong>checkForMemoryLeaks</strong></code></p><hr><h2><a name="field_collectStats">collectStats</a></h2><p><code>public static boolean <strong>collectStats</strong></code></p><hr><h2><a name="field_DEBUG">DEBUG</a></h2><p><code>public static int <strong>DEBUG</strong></code></p><hr><h2><a name="field_DEBUG_THREADLOCAL">DEBUG_THREADLOCAL</a></h2><p><code>public static boolean <strong>DEBUG_THREADLOCAL</strong></code></p><hr><h2><a name="field_debugBreakpoints">debugBreakpoints</a></h2><p><code>public static boolean <strong>debugBreakpoints</strong></code></p><hr><h2><a name="field_debugCaretMediator">debugCaretMediator</a></h2><p><code>public static boolean <strong>debugCaretMediator</strong></code></p><hr><h2><a name="field_debugDisplayTreePositions">debugDisplayTreePositions</a></h2><p><code>public static boolean <strong>debugDisplayTreePositions</strong></code></p><hr><h2><a name="field_debugLauncher">debugLauncher</a></h2><p><code>public static boolean <strong>debugLauncher</strong></code></p><hr><h2><a name="field_debugMediator">debugMediator</a></h2><p><code>public static boolean <strong>debugMediator</strong></code></p><hr><h2><a name="field_debugNotification">debugNotification</a></h2><p><code>public static boolean <strong>debugNotification</strong></code></p><hr><h2><a name="field_debugNotificationAndEvents">debugNotificationAndEvents</a></h2><p><code>public static boolean <strong>debugNotificationAndEvents</strong></code></p><hr><h2><a name="field_debugNotifyDeferred">debugNotifyDeferred</a></h2><p><code>public static boolean <strong>debugNotifyDeferred</strong></code></p><hr><h2><a name="field_debugReconciling">debugReconciling</a></h2><p><code>public static boolean <strong>debugReconciling</strong></code></p><hr><h2><a name="field_debugRtfFormatProvider">debugRtfFormatProvider</a></h2><p><code>public static boolean <strong>debugRtfFormatProvider</strong></code></p><hr><h2><a name="field_debugStructuredDocument">debugStructuredDocument</a></h2><p><code>public static boolean <strong>debugStructuredDocument</strong></code></p><hr><h2><a name="field_debugTaglibs">debugTaglibs</a></h2><p><code>public static boolean <strong>debugTaglibs</strong></code></p><hr><h2><a name="field_debugTokenizer">debugTokenizer</a></h2><p><code>public static boolean <strong>debugTokenizer</strong></code></p><hr><h2><a name="field_debugTreeModel">debugTreeModel</a></h2><p><code>public static boolean <strong>debugTreeModel</strong></code></p><hr><h2><a name="field_debugUpdateTreePositions">debugUpdateTreePositions</a></h2><p><code>public static boolean <strong>debugUpdateTreePositions</strong></code></p><hr><h2><a name="field_debugXSLModel">debugXSLModel</a></h2><p><code>public static boolean <strong>debugXSLModel</strong></code></p><table><tr><td>Output Modeling Messages.</td></tr></table><hr><h2><a name="field_displayInfo">displayInfo</a></h2><p><code>public static boolean <strong>displayInfo</strong></code></p><hr><h2><a name="field_displayToConsole">displayToConsole</a></h2><p><code>public static boolean <strong>displayToConsole</strong></code></p><table><tr><td>effects output of Logger</td></tr></table><hr><h2><a name="field_displayWarnings">displayWarnings</a></h2><p><code>public static boolean <strong>displayWarnings</strong></code></p><hr><h2><a name="field_headParsing">headParsing</a></h2><p><code>public static boolean <strong>headParsing</strong></code></p><hr><h2><a name="field_jsDebugContextAssist">jsDebugContextAssist</a></h2><p><code>public static boolean <strong>jsDebugContextAssist</strong></code></p><hr><h2><a name="field_jsDebugSyntaxColoring">jsDebugSyntaxColoring</a></h2><p><code>public static boolean <strong>jsDebugSyntaxColoring</strong></code></p><hr><h2><a name="field_LOCKS">LOCKS</a></h2><p><code>public static boolean <strong>LOCKS</strong></code></p><hr><h2><a name="field_perfTest">perfTest</a></h2><p><code>public static boolean <strong>perfTest</strong></code></p><hr><h2><a name="field_perfTestAdapterClassLoading">perfTestAdapterClassLoading</a></h2><p><code>public static boolean <strong>perfTestAdapterClassLoading</strong></code></p><hr><h2><a name="field_perfTestFormat">perfTestFormat</a></h2><p><code>public static boolean <strong>perfTestFormat</strong></code></p><hr><h2><a name="field_perfTestRawStructuredDocumentOnly">perfTestRawStructuredDocumentOnly</a></h2><p><code>public static boolean <strong>perfTestRawStructuredDocumentOnly</strong></code></p><hr><h2><a name="field_perfTestStructuredDocumentEventOnly">perfTestStructuredDocumentEventOnly</a></h2><p><code>public static boolean <strong>perfTestStructuredDocumentEventOnly</strong></code></p><hr><h2><a name="field_perfTestStructuredDocumentOnly">perfTestStructuredDocumentOnly</a></h2><p><code>public static boolean <strong>perfTestStructuredDocumentOnly</strong></code></p><hr><h2><a name="field_syntaxHighlighting">syntaxHighlighting</a></h2><p><code>public static boolean <strong>syntaxHighlighting</strong></code></p><hr><h2><a name="field_useStandardEolInWidget">useStandardEolInWidget</a></h2><p><code>public static boolean <strong>useStandardEolInWidget</strong></code></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_Debug">Debug</a></h2><p><code>public <strong>Debug</strong>()</code></p><p>Debug constructor comment.</p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_dump">dump</a></h2><p><code>public void <strong>dump</strong>(IStructuredDocument structuredDocument)</code></p><p>For tests and debug only</p><h3>Parameters</h3><p><code>structuredDocument</code></p><hr><h2><a name="method_dump">dump</a></h2><p><code>public void <strong>dump</strong>(IStructuredDocument structuredDocument
,
boolean verbose)</code></p><p></p><h3>Parameters</h3><p><code>structuredDocument</code></p><p><code>verbose</code></p><hr><h2><a name="method_dump">dump</a></h2><p><code>public void <strong>dump</strong>(ITextRegionCollection region
,
boolean verbose)</code></p><p></p><h3>Parameters</h3><p><code>region</code></p><p><code>verbose</code></p><hr><h2><a name="method_println">println</a></h2><p><code>public void <strong>println</strong>(java.lang.String msg)</code></p><p>Simple utility to make sure println's are some what in order</p><h3>Parameters</h3><p><code>msg</code></p><hr><h2><a name="method_toStringUtil">toStringUtil</a></h2><p><code>public java.lang.String <strong>toStringUtil</strong>(IStructuredDocument object)</code></p><p></p><h3>Parameters</h3><p><code>object</code></p><h3>Returns</h3><p><code>java.lang.String</code></p><hr><h2><a name="method_toStringUtil">toStringUtil</a></h2><p><code>public java.lang.String <strong>toStringUtil</strong>(ITextRegionCollection object)</code></p><p></p><h3>Parameters</h3><p><code>object</code></p><h3>Returns</h3><p><code>java.lang.String</code></p><hr></body></html>