public static XmlDocument getXmlMetaModel(META_TYPE meta_type) { switch (meta_type) { case META_TYPE.INITIAL: return xmlInitialMeta; default: return null; } }
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; } }
public static String getStrMetaModel(META_TYPE meta_type) { return getStringMetaModel("string", meta_type); }
public static String getJsonMetaModel(META_TYPE meta_type) { return getStringMetaModel("json", meta_type); }