跳到主要内容

XMLIterator

命名空间:FairyGUI.Utils
源码:Assets/Scripts/Utils/XMLIterator.cs (行 21)

public class XMLIterator

字段​

lastTagName​

public static string lastTagName;

源码:Utils/XMLIterator.cs (行 25)

tagName​

public static string tagName;

源码:Utils/XMLIterator.cs (行 23)

tagType​

public static XMLTagType tagType;

源码:Utils/XMLIterator.cs (行 24)

方法​

Begin(string, bool)​

public static void Begin(string source, bool lowerCaseName = false);
参数类型说明
sourcestring
lowerCaseNamebool

源码:Utils/XMLIterator.cs (行 43)

GetAttribute(string)​

public static string GetAttribute(string attrName);
参数类型说明
attrNamestring

源码:Utils/XMLIterator.cs (行 249)

GetAttribute(string, string)​

public static string GetAttribute(string attrName, string defValue);
参数类型说明
attrNamestring
defValuestring

源码:Utils/XMLIterator.cs (行 265)

GetAttributeBool(string)​

public static bool GetAttributeBool(string attrName);
参数类型说明
attrNamestring

源码:Utils/XMLIterator.cs (行 310)

GetAttributeBool(string, bool)​

public static bool GetAttributeBool(string attrName, bool defValue);
参数类型说明
attrNamestring
defValuebool

源码:Utils/XMLIterator.cs (行 315)

GetAttributeFloat(string)​

public static float GetAttributeFloat(string attrName);
参数类型说明
attrNamestring

源码:Utils/XMLIterator.cs (行 292)

GetAttributeFloat(string, float)​

public static float GetAttributeFloat(string attrName, float defValue);
参数类型说明
attrNamestring
defValuefloat

源码:Utils/XMLIterator.cs (行 297)

GetAttributeInt(string)​

public static int GetAttributeInt(string attrName);
参数类型说明
attrNamestring

源码:Utils/XMLIterator.cs (行 274)

GetAttributeInt(string, int)​

public static int GetAttributeInt(string attrName, int defValue);
参数类型说明
attrNamestring
defValueint

源码:Utils/XMLIterator.cs (行 279)

GetAttributes(Dictionary<string, string>)​

public static Dictionary<string, string> GetAttributes(Dictionary<string, string> result);
参数类型说明
resultDictionary<string, string>

源码:Utils/XMLIterator.cs (行 328)

GetAttributes(Hashtable)​

public static Hashtable GetAttributes(Hashtable result);
参数类型说明
resultHashtable

源码:Utils/XMLIterator.cs (行 344)

GetRawText(bool)​

public static string GetRawText(bool trim = false);
参数类型说明
trimbool

源码:Utils/XMLIterator.cs (行 191)

GetTagSource()​

public static string GetTagSource();

源码:Utils/XMLIterator.cs (行 186)

GetText(bool)​

public static string GetText(bool trim = false);
参数类型说明
trimbool

源码:Utils/XMLIterator.cs (行 214)

HasAttribute(string)​

public static bool HasAttribute(string attrName);
参数类型说明
attrNamestring

源码:Utils/XMLIterator.cs (行 237)

NextTag()​

public static bool NextTag();

源码:Utils/XMLIterator.cs (行 55)