Exemplo n.º 1
0
 public static XmlDocument getXmlMetaModel(META_TYPE meta_type)
 {
     switch (meta_type)
     {
         case META_TYPE.INITIAL: return xmlInitialMeta;
         default: return null;
     }
 }
Exemplo n.º 2
0
 public static String getStringMetaModel(string mode, META_TYPE meta_type)
 {
     switch (meta_type)
     {
         case META_TYPE.INITIAL:
             if(mode.Equals("json"))
                 return XML_to_JSON(xmlInitialMeta);
             else
                 return Beautify(xmlInitialMeta);
         default:
             return null;
     }
 }
Exemplo n.º 3
0
 public static String getStrMetaModel(META_TYPE meta_type)
 {
     return getStringMetaModel("string", meta_type);
 }
Exemplo n.º 4
0
 public static String getJsonMetaModel(META_TYPE meta_type)
 {
     return getStringMetaModel("json", meta_type);
 }