/*******************************************************************************
 * Copyright 2012 Technology Blueprint Ltd
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package uk.co.techblue.docusign.client.envelope.attributes;

public enum FontSize {
	Size7, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, Size72
}

@@ -818,16 +818,115 @@
 butes;%0A%0A
+import org.codehaus.jackson.annotate.JsonCreator;%0Aimport org.codehaus.jackson.annotate.JsonValue;%0A%0A
 public e
@@ -944,139 +944,657 @@
 e %7B%0A
+%0A
 %09Size7
-, Size8, Size9, Size10, Size11, Size12, Size14, Size16, Size18, Size20, Size22, Size24, Size26, Size28, Size36, Size48, Size72
+(%22size7%22),%0A%09Size8(%22size8%22),%0A%09Size9(%22size9%22),%0A%09Size10(%22size10%22),%0A%09Size11(%22size11%22),%0A%09Size12(%22size12%22),%0A%09Size14(%22size14%22),%0A%09Size16(%22size16%22),%0A%09Size18(%22size18%22),%0A%09Size20(%22size20%22),%0A%09Size22(%22size22%22),%0A%09Size24(%22size24%22),%0A%09Size26(%22size26%22),%0A%09Size28(%22size28%22),%0A%09Size36(%22size36%22),%0A%09Size48(%22size48%22),%0A%09Size72(%22size72%22);%0A%0A%09private String key;%0A%0A%09FontSize(String key) %7B%0A%09%09this.key = key.toLowerCase();%0A%09%7D%0A%0A%09@JsonCreator%0A%09public static FontSize newInstance(String key) %7B%0A%09%09for (FontSize f : values()) %7B%0A%09%09%09if (key.toLowerCase().equals(f.getFontSize())) %7B%0A%09%09%09%09return f;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return null;%0A%09%7D%0A%0A%09@JsonValue%0A%09public String getFontSize() %7B%0A%09%09return key;%0A%09%7D
 %0A%7D%0A

make FontSize case insensitive