Debian Codegraph @

docs/apidocs/org/jboss/logging/annotations/FormatWith.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="en">
4 <head>
5 <!-- Generated by javadoc -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>FormatWith (JBoss Logging I18n Documentation 2.2.1.Final API)</title>
8 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../../script.js"></script>
10 </head>
11 <body>
12 <script type="text/javascript"><!--
13 try {
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="FormatWith (JBoss Logging I18n Documentation 2.2.1.Final API)";
16 }
17 }
18 catch(err) {
19 }
20 //-->
21 </script>
22 <noscript>
23 <div>JavaScript is disabled on your browser.</div>
24 </noscript>
25 <!-- ========= START OF TOP NAVBAR ======= -->
26 <div class="topNav"><a name="navbar.top">
27 <!-- -->
28 </a>
29 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
30 <a name="navbar.top.firstrow">
31 <!-- -->
32 </a>
33 <ul class="navList" title="Navigation">
34 <li><a href="../../../../org/jboss/logging/annotations/package-summary.html">Package</a></li>
35 <li class="navBarCell1Rev">Class</li>
36 <li><a href="class-use/FormatWith.html">Use</a></li>
37 <li><a href="package-tree.html">Tree</a></li>
38 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
39 <li><a href="../../../../index-all.html">Index</a></li>
40 <li><a href="../../../../help-doc.html">Help</a></li>
41 </ul>
42 <div class="aboutLanguage">JBoss Logging Tools, 2.2.1.Final</div>
43 </div>
44 <div class="subNav">
45 <ul class="navList">
46 <li><a href="../../../../org/jboss/logging/annotations/Fields.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
47 <li><a href="../../../../org/jboss/logging/annotations/LoggingClass.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
48 </ul>
49 <ul class="navList">
50 <li><a href="../../../../index.html?org/jboss/logging/annotations/FormatWith.html" target="_top">Frames</a></li>
51 <li><a href="FormatWith.html" target="_top">No&nbsp;Frames</a></li>
52 </ul>
53 <ul class="navList" id="allclasses_navbar_top">
54 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55 </ul>
56 <div>
57 <script type="text/javascript"><!--
58 allClassesLink = document.getElementById("allclasses_navbar_top");
59 if(window==top) {
60 allClassesLink.style.display = "block";
61 }
62 else {
63 allClassesLink.style.display = "none";
64 }
65 //-->
66 </script>
67 </div>
68 <div>
69 <ul class="subNavList">
70 <li>Summary:&nbsp;</li>
71 <li>Field&nbsp;|&nbsp;</li>
72 <li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
73 <li>Optional</li>
74 </ul>
75 <ul class="subNavList">
76 <li>Detail:&nbsp;</li>
77 <li>Field&nbsp;|&nbsp;</li>
78 <li><a href="#annotation.type.element.detail">Element</a></li>
79 </ul>
80 </div>
81 <a name="skip.navbar.top">
82 <!-- -->
83 </a></div>
84 <!-- ========= END OF TOP NAVBAR ========= -->
85 <!-- ======== START OF CLASS DATA ======== -->
86 <div class="header">
87 <div class="subTitle">org.jboss.logging.annotations</div>
88 <h2 title="Annotation Type FormatWith" class="title">Annotation Type FormatWith</h2>
89 </div>
90 <div class="contentContainer">
91 <div class="description">
92 <ul class="blockList">
93 <li class="blockList">
94 <hr>
95 <br>
96 <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>)
97 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#CLASS" title="class or interface in java.lang.annotation">CLASS</a>)
98 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Documented.html?is-external=true" title="class or interface in java.lang.annotation">@Documented</a>
99 public @interface <span class="memberNameLabel">FormatWith</span></pre>
100 <div class="block">Indicate that the given parameter should be wrapped with a formatting object of the given class. The class
101 must have a one-argument constructor which unambiguously accepts a value of this parameter's type. The resultant
102 object will be passed in as a parameter to the underlying format type; thus its <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>toString()</code></a>
103 method will be invoked (or, if the format style is <a href="../../../../org/jboss/logging/annotations/Message.Format.html#PRINTF"><code>PRINTF</code></a>, the object may implement
104 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Formattable.html?is-external=true" title="class or interface in java.util"><code>Formattable</code></a> to get extra functionality).</div>
105 <dl>
106 <dt><span class="simpleTagLabel">Author:</span></dt>
107 <dd><a href="mailto:[email protected]">David M. Lloyd</a></dd>
108 </dl>
109 </li>
110 </ul>
111 </div>
112 <div class="summary">
113 <ul class="blockList">
114 <li class="blockList">
115 <!-- =========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY =========== -->
116 <ul class="blockList">
117 <li class="blockList"><a name="annotation.type.required.element.summary">
118 <!-- -->
119 </a>
120 <h3>Required Element Summary</h3>
121 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Required Element Summary table, listing required elements, and an explanation">
122 <caption><span>Required Elements</span><span class="tabEnd">&nbsp;</span></caption>
123 <tr>
124 <th class="colFirst" scope="col">Modifier and Type</th>
125 <th class="colLast" scope="col">Required Element and Description</th>
126 </tr>
127 <tr class="altColor">
128 <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
129 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jboss/logging/annotations/FormatWith.html#value--">value</a></span></code>
130 <div class="block">The class of the formatting object to use.</div>
131 </td>
132 </tr>
133 </table>
134 </li>
135 </ul>
136 </li>
137 </ul>
138 </div>
139 <div class="details">
140 <ul class="blockList">
141 <li class="blockList">
142 <!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
143 <ul class="blockList">
144 <li class="blockList"><a name="annotation.type.element.detail">
145 <!-- -->
146 </a>
147 <h3>Element Detail</h3>
148 <a name="value--">
149 <!-- -->
150 </a>
151 <ul class="blockListLast">
152 <li class="blockList">
153 <h4>value</h4>
154 <pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;value</pre>
155 <div class="block">The class of the formatting object to use.</div>
156 <dl>
157 <dt><span class="returnLabel">Returns:</span></dt>
158 <dd>the class</dd>
159 </dl>
160 </li>
161 </ul>
162 </li>
163 </ul>
164 </li>
165 </ul>
166 </div>
167 </div>
168 <!-- ========= END OF CLASS DATA ========= -->
169 <!-- ======= START OF BOTTOM NAVBAR ====== -->
170 <div class="bottomNav"><a name="navbar.bottom">
171 <!-- -->
172 </a>
173 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
174 <a name="navbar.bottom.firstrow">
175 <!-- -->
176 </a>
177 <ul class="navList" title="Navigation">
178 <li><a href="../../../../org/jboss/logging/annotations/package-summary.html">Package</a></li>
179 <li class="navBarCell1Rev">Class</li>
180 <li><a href="class-use/FormatWith.html">Use</a></li>
181 <li><a href="package-tree.html">Tree</a></li>
182 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
183 <li><a href="../../../../index-all.html">Index</a></li>
184 <li><a href="../../../../help-doc.html">Help</a></li>
185 </ul>
186 <div class="aboutLanguage">JBoss Logging Tools, 2.2.1.Final</div>
187 </div>
188 <div class="subNav">
189 <ul class="navList">
190 <li><a href="../../../../org/jboss/logging/annotations/Fields.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
191 <li><a href="../../../../org/jboss/logging/annotations/LoggingClass.html" title="annotation in org.jboss.logging.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
192 </ul>
193 <ul class="navList">
194 <li><a href="../../../../index.html?org/jboss/logging/annotations/FormatWith.html" target="_top">Frames</a></li>
195 <li><a href="FormatWith.html" target="_top">No&nbsp;Frames</a></li>
196 </ul>
197 <ul class="navList" id="allclasses_navbar_bottom">
198 <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
199 </ul>
200 <div>
201 <script type="text/javascript"><!--
202 allClassesLink = document.getElementById("allclasses_navbar_bottom");
203 if(window==top) {
204 allClassesLink.style.display = "block";
205 }
206 else {
207 allClassesLink.style.display = "none";
208 }
209 //-->
210 </script>
211 </div>
212 <div>
213 <ul class="subNavList">
214 <li>Summary:&nbsp;</li>
215 <li>Field&nbsp;|&nbsp;</li>
216 <li><a href="#annotation.type.required.element.summary">Required</a>&nbsp;|&nbsp;</li>
217 <li>Optional</li>
218 </ul>
219 <ul class="subNavList">
220 <li>Detail:&nbsp;</li>
221 <li>Field&nbsp;|&nbsp;</li>
222 <li><a href="#annotation.type.element.detail">Element</a></li>
223 </ul>
224 </div>
225 <a name="skip.navbar.bottom">
226 <!-- -->
227 </a></div>
228 <!-- ======== END OF BOTTOM NAVBAR ======= -->
229 <p class="legalCopy"><small>Copyright &#169; 2019 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p>
230 </body>
231 </html>