]> git.aero2k.de Git - tmp/jakarta-migration.git/blob
57f4c2b264010330283c03c61b78c76419b6f994
[tmp/jakarta-migration.git] /
1 package org.collectionspace.services.id.part;
2
3 public class NoOpIDPartOutputFormatter implements IDPartOutputFormatter {
4
5     public NoOpIDPartOutputFormatter () {
6     }
7
8     @Override
9     public int getMaxOutputLength () {
10         return Integer.MAX_VALUE;
11     }
12
13     public void setMaxOutputLength (int length) {
14         // Do nothing.
15     }
16
17     @Override
18     public String getFormatPattern () {
19         return "";
20     }
21
22     public void setFormatPattern(String pattern) {
23         // Do nothing.
24     }
25
26     @Override
27     public String format(String id) {
28         return id;
29     }
30
31
32 }
33