コード例 #1
0
 /**
  * @param dict
  * @param choices
  * @throws MetaDataException
  */
 public static void addChoiceSet(MetaDataDictionary dict, ChoiceSet choices)
     throws MetaDataException {
   if (dict != null) dict.addChoiceSet(choices);
 }
コード例 #2
0
 /**
  * @param dict
  * @param defn
  * @throws MetaDataException
  */
 public static void addElementDefn(MetaDataDictionary dict, ElementDefn defn)
     throws MetaDataException {
   if (dict != null) dict.addElementDefn(defn);
 }
コード例 #3
0
 /**
  * @param dict
  * @param style
  * @throws MetaDataException
  */
 public static void addPredefinedStyle(MetaDataDictionary dict, PredefinedStyle style)
     throws MetaDataException {
   if (dict != null) dict.addPredefinedStyle(style);
 }
コード例 #4
0
 /**
  * @param dict
  * @param struct
  * @throws MetaDataException
  */
 public static void addStructureDefn(MetaDataDictionary dict, StructureDefn struct)
     throws MetaDataException {
   if (dict != null) dict.addStructure(struct);
 }