1 16 package org.apache.axis.types; 17 18 import org.apache.axis.utils.Messages; 19 20 32 public class Language extends Token { 33 34 public Language() { 35 super(); 36 } 37 38 42 public Language(String stValue) throws IllegalArgumentException { 43 try { 44 setValue(stValue); 45 } 46 catch (IllegalArgumentException e) { 47 throw new IllegalArgumentException ( 49 Messages.getMessage("badLanguage00") + "data=[" + 50 stValue + "]"); 51 } 52 } 53 54 63 public static boolean isValid(String stValue) { 64 return true; 65 } 66 } 67 | Popular Tags |