| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_79) on Mon Mar 21 21:59:38 CET 2016 --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>CodeFormat (OpenJPA Parent POM 2.4.1 API)</title> |
| <meta name="date" content="2016-03-21"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="CodeFormat (OpenJPA Parent POM 2.4.1 API)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CodeFormat.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/ConcreteClassGenerator.html" title="class in org.apache.openjpa.lib.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/CodeFormat.html" target="_top">Frames</a></li> |
| <li><a href="CodeFormat.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.openjpa.lib.util</div> |
| <h2 title="Class CodeFormat" class="title">Class CodeFormat</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openjpa.lib.util.CodeFormat</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public final class <span class="strong">CodeFormat</span> |
| extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></pre> |
| <div class="block">Encapsulates some common Java source code formatting options. The |
| class can also be used as a buffer for formatted Java code.</div> |
| <dl><dt><span class="strong">Author:</span></dt> |
| <dd>Abe White</dd></dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#CodeFormat()">CodeFormat</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#afterSection()">afterSection</a></strong>()</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(boolean)">append</a></strong>(boolean val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(byte)">append</a></strong>(byte val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(char)">append</a></strong>(char val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(double)">append</a></strong>(double val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(float)">append</a></strong>(float val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(int)">append</a></strong>(int val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(long)">append</a></strong>(long val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(java.lang.Object)">append</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#append(short)">append</a></strong>(short val)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#clear()">clear</a></strong>()</code> |
| <div class="block">Clear the internal code buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#clone()">clone</a></strong>()</code> |
| <div class="block">Make a copy of this code format object with all the same formatting |
| settings.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#closeBrace(int)">closeBrace</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#closeParen()">closeParen</a></strong>()</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#endl()">endl</a></strong>()</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#endl(int)">endl</a></strong>(int num)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#endl(int,%20int)">endl</a></strong>(int num, |
| int tabs)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#extendsDec(int)">extendsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#fieldName(java.lang.String)">fieldName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getAfterSection()">getAfterSection</a></strong>()</code> |
| <div class="block">Return {#getLinesBetweenSections} + 1 new line characters.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getBraceAtSameTabLevel()">getBraceAtSameTabLevel</a></strong>()</code> |
| <div class="block">Whether to place braces at the same tab level as the code within |
| the block.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getBraceOnSameLine()">getBraceOnSameLine</a></strong>()</code> |
| <div class="block">Whether to place opening braces on the same line as the |
| block declaration, or on the next line.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getBuffer()">getBuffer</a></strong>()</code> |
| <div class="block">Return the internal code buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getCloseBrace(int)">getCloseBrace</a></strong>(int tabLevel)</code> |
| <div class="block">Close brace string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getCloseParen()">getCloseParen</a></strong>()</code> |
| <div class="block">Close parentheses string.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl()">getEndl</a></strong>()</code> |
| <div class="block">Return a new line character.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl(int)">getEndl</a></strong>(int num)</code> |
| <div class="block">Return the given number of new line characters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl(int,%20int)">getEndl</a></strong>(int num, |
| int tabs)</code> |
| <div class="block">Return the given number of new line characters, followed by |
| the given tab level indentation.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getExtendsDec(int)">getExtendsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Extends declaration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getFieldName(java.lang.String)">getFieldName</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> |
| <div class="block">Return the field name for given suggested name, possibly adding |
| leading underscore.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getImplementsDec(int)">getImplementsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Implements declaration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getLinesBetweenSections()">getLinesBetweenSections</a></strong>()</code> |
| <div class="block">The number of empty lines between code sections.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getOpenBrace(int)">getOpenBrace</a></strong>(int tabLevel)</code> |
| <div class="block">Open brace string.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getOpenParen(boolean)">getOpenParen</a></strong>(boolean methodOrIf)</code> |
| <div class="block">Open parentheses string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getParametrizedType(java.lang.String[])">getParametrizedType</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] typenames)</code> |
| <div class="block">Returns parametrized type string for given type(s).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getParens()">getParens</a></strong>()</code> |
| <div class="block">Paired parentheses for empty method parameters.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getScoreBeforeFieldName()">getScoreBeforeFieldName</a></strong>()</code> |
| <div class="block">Whether to place an underscore before private field names.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getSpaceBeforeParen()">getSpaceBeforeParen</a></strong>()</code> |
| <div class="block">Whether to place a space before parentheses.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getSpaceInParen()">getSpaceInParen</a></strong>()</code> |
| <div class="block">Whether to place a space within parentheses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getTab()">getTab</a></strong>()</code> |
| <div class="block">Tab string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getTab(int)">getTab</a></strong>(int tabLevel)</code> |
| <div class="block">Tab string.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getTabSpaces()">getTabSpaces</a></strong>()</code> |
| <div class="block">The number of spaces to use for tabs; 0 means to use actual tab |
| characters.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getThrowsDec(int)">getThrowsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Throws declaration.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#implementsDec(int)">implementsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#length()">length</a></strong>()</code> |
| <div class="block">Return the length of the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#openBrace(int)">openBrace</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#openParen(boolean)">openParen</a></strong>(boolean methodOrIf)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#parens()">parens</a></strong>()</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setBraceAtSameTabLevel(boolean)">setBraceAtSameTabLevel</a></strong>(boolean braceAtSameTabLevel)</code> |
| <div class="block">Whether to place braces at the same tab level as the code within |
| the block.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setBraceOnSameLine(boolean)">setBraceOnSameLine</a></strong>(boolean braceOnSameLine)</code> |
| <div class="block">Whether to place opening braces on the same line as the |
| block declaration, or on the next line.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setLinesBetweenSections(int)">setLinesBetweenSections</a></strong>(int linesBetweenSections)</code> |
| <div class="block">The number of empty lines between sections.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setScoreBeforeFieldName(boolean)">setScoreBeforeFieldName</a></strong>(boolean scoreBeforeFieldName)</code> |
| <div class="block">Whether to place an underscore before private field names.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setSpaceBeforeParen(boolean)">setSpaceBeforeParen</a></strong>(boolean spaceBeforeParen)</code> |
| <div class="block">Whether to place a space before parentheses.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setSpaceInParen(boolean)">setSpaceInParen</a></strong>(boolean spaceInParen)</code> |
| <div class="block">Whether to place a space within parentheses.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#setTabSpaces(int)">setTabSpaces</a></strong>(int tab)</code> |
| <div class="block">The number of spaces to use for tabs; 0 means to use actual tab |
| characters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#tab()">tab</a></strong>()</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#tab(int)">tab</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#throwsDec(int)">throwsDec</a></strong>(int tabLevel)</code> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#toString()">toString</a></strong>()</code> |
| <div class="block">Return the internal buffer as a string.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="CodeFormat()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>CodeFormat</h4> |
| <pre>public CodeFormat()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getTabSpaces()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTabSpaces</h4> |
| <pre>public int getTabSpaces()</pre> |
| <div class="block">The number of spaces to use for tabs; 0 means to use actual tab |
| characters. Defaults to 0.</div> |
| </li> |
| </ul> |
| <a name="setTabSpaces(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTabSpaces</h4> |
| <pre>public void setTabSpaces(int tab)</pre> |
| <div class="block">The number of spaces to use for tabs; 0 means to use actual tab |
| characters. Defaults to 0.</div> |
| </li> |
| </ul> |
| <a name="getSpaceBeforeParen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSpaceBeforeParen</h4> |
| <pre>public boolean getSpaceBeforeParen()</pre> |
| <div class="block">Whether to place a space before parentheses. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="setSpaceBeforeParen(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSpaceBeforeParen</h4> |
| <pre>public void setSpaceBeforeParen(boolean spaceBeforeParen)</pre> |
| <div class="block">Whether to place a space before parentheses. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="getSpaceInParen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSpaceInParen</h4> |
| <pre>public boolean getSpaceInParen()</pre> |
| <div class="block">Whether to place a space within parentheses. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="setSpaceInParen(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSpaceInParen</h4> |
| <pre>public void setSpaceInParen(boolean spaceInParen)</pre> |
| <div class="block">Whether to place a space within parentheses. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="getBraceOnSameLine()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBraceOnSameLine</h4> |
| <pre>public boolean getBraceOnSameLine()</pre> |
| <div class="block">Whether to place opening braces on the same line as the |
| block declaration, or on the next line. Defaults to same line.</div> |
| </li> |
| </ul> |
| <a name="setBraceOnSameLine(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBraceOnSameLine</h4> |
| <pre>public void setBraceOnSameLine(boolean braceOnSameLine)</pre> |
| <div class="block">Whether to place opening braces on the same line as the |
| block declaration, or on the next line. Defaults to same line.</div> |
| </li> |
| </ul> |
| <a name="getBraceAtSameTabLevel()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBraceAtSameTabLevel</h4> |
| <pre>public boolean getBraceAtSameTabLevel()</pre> |
| <div class="block">Whether to place braces at the same tab level as the code within |
| the block. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="setBraceAtSameTabLevel(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBraceAtSameTabLevel</h4> |
| <pre>public void setBraceAtSameTabLevel(boolean braceAtSameTabLevel)</pre> |
| <div class="block">Whether to place braces at the same tab level as the code within |
| the block. Defaults to false.</div> |
| </li> |
| </ul> |
| <a name="getScoreBeforeFieldName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getScoreBeforeFieldName</h4> |
| <pre>public boolean getScoreBeforeFieldName()</pre> |
| <div class="block">Whether to place an underscore before private field names. Defaults |
| to false.</div> |
| </li> |
| </ul> |
| <a name="setScoreBeforeFieldName(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setScoreBeforeFieldName</h4> |
| <pre>public void setScoreBeforeFieldName(boolean scoreBeforeFieldName)</pre> |
| <div class="block">Whether to place an underscore before private field names. Defaults |
| to false.</div> |
| </li> |
| </ul> |
| <a name="getLinesBetweenSections()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getLinesBetweenSections</h4> |
| <pre>public int getLinesBetweenSections()</pre> |
| <div class="block">The number of empty lines between code sections. Defaults to 1.</div> |
| </li> |
| </ul> |
| <a name="setLinesBetweenSections(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setLinesBetweenSections</h4> |
| <pre>public void setLinesBetweenSections(int linesBetweenSections)</pre> |
| <div class="block">The number of empty lines between sections. Defaults to 1.</div> |
| </li> |
| </ul> |
| <a name="getEndl()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndl</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEndl()</pre> |
| <div class="block">Return a new line character.</div> |
| </li> |
| </ul> |
| <a name="getEndl(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndl</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEndl(int num)</pre> |
| <div class="block">Return the given number of new line characters.</div> |
| </li> |
| </ul> |
| <a name="getEndl(int, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEndl</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getEndl(int num, |
| int tabs)</pre> |
| <div class="block">Return the given number of new line characters, followed by |
| the given tab level indentation.</div> |
| </li> |
| </ul> |
| <a name="getAfterSection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAfterSection</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getAfterSection()</pre> |
| <div class="block">Return {#getLinesBetweenSections} + 1 new line characters.</div> |
| </li> |
| </ul> |
| <a name="getOpenParen(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOpenParen</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getOpenParen(boolean methodOrIf)</pre> |
| <div class="block">Open parentheses string. Users can choose to place spaces before |
| and within parentheses.</div> |
| </li> |
| </ul> |
| <a name="getCloseParen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCloseParen</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCloseParen()</pre> |
| <div class="block">Close parentheses string. Users can choose to place spaces within |
| parentheses.</div> |
| </li> |
| </ul> |
| <a name="getParens()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParens</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getParens()</pre> |
| <div class="block">Paired parentheses for empty method parameters. Users can choose |
| to place spaces before parentheses.</div> |
| </li> |
| </ul> |
| <a name="getOpenBrace(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOpenBrace</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getOpenBrace(int tabLevel)</pre> |
| <div class="block">Open brace string. Users can choose to place braces on the same |
| line, or on a new line, and can choose the indenting level.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>tabLevel</code> - the tab level of code within the brace</dd></dl> |
| </li> |
| </ul> |
| <a name="getCloseBrace(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCloseBrace</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCloseBrace(int tabLevel)</pre> |
| <div class="block">Close brace string. Users can choose to place braces on the same |
| line, or on a new line, and can choose the indenting level.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>tabLevel</code> - the tab level of code within the brace</dd></dl> |
| </li> |
| </ul> |
| <a name="getExtendsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getExtendsDec</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getExtendsDec(int tabLevel)</pre> |
| <div class="block">Extends declaration. Uses configuration of <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#openBrace(int)"><code>openBrace(int)</code></a>, |
| but prints "extends" instead of a brace.</div> |
| </li> |
| </ul> |
| <a name="getImplementsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getImplementsDec</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getImplementsDec(int tabLevel)</pre> |
| <div class="block">Implements declaration. Uses configuration of <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#openBrace(int)"><code>openBrace(int)</code></a>, |
| but prints "implements" instead of a brace.</div> |
| </li> |
| </ul> |
| <a name="getThrowsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getThrowsDec</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getThrowsDec(int tabLevel)</pre> |
| <div class="block">Throws declaration. Uses configuration of <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#openBrace(int)"><code>openBrace(int)</code></a>, |
| but prints "throws" instead of a brace.</div> |
| </li> |
| </ul> |
| <a name="getTab()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTab</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTab()</pre> |
| <div class="block">Tab string. Users can choose to use spaces or tab characters.</div> |
| </li> |
| </ul> |
| <a name="getTab(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTab</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTab(int tabLevel)</pre> |
| <div class="block">Tab string. Users can choose to use spaces or tab characters.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>tabLevel</code> - the number of tabs</dd></dl> |
| </li> |
| </ul> |
| <a name="getParametrizedType(java.lang.String[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParametrizedType</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getParametrizedType(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] typenames)</pre> |
| <div class="block">Returns parametrized type string for given type(s).</div> |
| </li> |
| </ul> |
| <a name="getFieldName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFieldName</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getFieldName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> |
| <div class="block">Return the field name for given suggested name, possibly adding |
| leading underscore.</div> |
| </li> |
| </ul> |
| <a name="getBuffer()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBuffer</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> getBuffer()</pre> |
| <div class="block">Return the internal code buffer.</div> |
| </li> |
| </ul> |
| <a name="append(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(boolean val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(byte)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(byte val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(char)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(char val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(double val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(float)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(float val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(int val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(long val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(short)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(short val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="append(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>append</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> append(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="endl()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endl</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> endl()</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl()"><code>getEndl()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="endl(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endl</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> endl(int num)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl(int)"><code>getEndl(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="endl(int, int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>endl</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> endl(int num, |
| int tabs)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getEndl(int,%20int)"><code>getEndl(int, int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="afterSection()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>afterSection</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> afterSection()</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getAfterSection()"><code>getAfterSection()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="openParen(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>openParen</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> openParen(boolean methodOrIf)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getOpenParen(boolean)"><code>getOpenParen(boolean)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="closeParen()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>closeParen</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> closeParen()</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getCloseParen()"><code>getCloseParen()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="parens()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>parens</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> parens()</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getParens()"><code>getParens()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="openBrace(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>openBrace</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> openBrace(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getOpenBrace(int)"><code>getOpenBrace(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="closeBrace(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>closeBrace</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> closeBrace(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getCloseBrace(int)"><code>getCloseBrace(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="extendsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>extendsDec</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> extendsDec(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getExtendsDec(int)"><code>getExtendsDec(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="implementsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>implementsDec</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> implementsDec(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getImplementsDec(int)"><code>getImplementsDec(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="throwsDec(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>throwsDec</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> throwsDec(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getThrowsDec(int)"><code>getThrowsDec(int)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="tab()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tab</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> tab()</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getTab()"><code>getTab()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="tab(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>tab</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> tab(int tabLevel)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getTab()"><code>getTab()</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="fieldName(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fieldName</h4> |
| <pre>public <a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html" title="class in org.apache.openjpa.lib.util">CodeFormat</a> fieldName(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block">Append the given value to the internal buffer.</div> |
| <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/openjpa/lib/util/CodeFormat.html#getFieldName(java.lang.String)"><code>getFieldName(java.lang.String)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <div class="block">Clear the internal code buffer.</div> |
| </li> |
| </ul> |
| <a name="toString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> |
| <div class="block">Return the internal buffer as a string.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="length()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>length</h4> |
| <pre>public int length()</pre> |
| <div class="block">Return the length of the internal buffer.</div> |
| </li> |
| </ul> |
| <a name="clone()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> clone()</pre> |
| <div class="block">Make a copy of this code format object with all the same formatting |
| settings.</div> |
| <dl> |
| <dt><strong>Overrides:</strong></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CodeFormat.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/Closeable.html" title="interface in org.apache.openjpa.lib.util"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/openjpa/lib/util/ConcreteClassGenerator.html" title="class in org.apache.openjpa.lib.util"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/openjpa/lib/util/CodeFormat.html" target="_top">Frames</a></li> |
| <li><a href="CodeFormat.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2006–2016 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |