View Javadoc
1   package org.kuali.ole.utility.callnumber;
2   
3   import org.slf4j.Logger;
4   import org.slf4j.LoggerFactory;
5   import org.solrmarc.callnum.LCCallNumber;
6   
7   /**
8    * Created with IntelliJ IDEA.
9    * User: ?
10   * Date: 20/2/13
11   * Time: 7:31 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class NLMCallNumber extends LCCallNumber {
15      private static final Logger Log = LoggerFactory.getLogger(NLMCallNumber.class);
16      private static NLMCallNumber ourInstance = null;
17  
18      public static NLMCallNumber getInstance() {
19          if (null == ourInstance) {
20              ourInstance = new NLMCallNumber();
21          }
22          return ourInstance;
23      }
24  
25      @Override
26      public void parse(String call) {
27          try {
28              super.parse(call);
29          } catch (Exception e) {
30              Log.error("NLM Call Number Exception" + e);
31          }
32      }
33  }