Skip to main content

XMLIterator

Namespace:FairyGUI.Utils
Source:Assets/Scripts/Utils/XMLIterator.cs (line 21)

public class XMLIterator

Fields​

lastTagName​

public static string lastTagName;

Source:Utils/XMLIterator.cs (line 25)

tagName​

public static string tagName;

Source:Utils/XMLIterator.cs (line 23)

tagType​

public static XMLTagType tagType;

Source:Utils/XMLIterator.cs (line 24)

Methods​

Begin(string, bool)​

public static void Begin(string source, bool lowerCaseName = false);
ParameterTypeDescription
sourcestring
lowerCaseNamebool

Source:Utils/XMLIterator.cs (line 43)

GetAttribute(string)​

public static string GetAttribute(string attrName);
ParameterTypeDescription
attrNamestring

Source:Utils/XMLIterator.cs (line 249)

GetAttribute(string, string)​

public static string GetAttribute(string attrName, string defValue);
ParameterTypeDescription
attrNamestring
defValuestring

Source:Utils/XMLIterator.cs (line 265)

GetAttributeBool(string)​

public static bool GetAttributeBool(string attrName);
ParameterTypeDescription
attrNamestring

Source:Utils/XMLIterator.cs (line 310)

GetAttributeBool(string, bool)​

public static bool GetAttributeBool(string attrName, bool defValue);
ParameterTypeDescription
attrNamestring
defValuebool

Source:Utils/XMLIterator.cs (line 315)

GetAttributeFloat(string)​

public static float GetAttributeFloat(string attrName);
ParameterTypeDescription
attrNamestring

Source:Utils/XMLIterator.cs (line 292)

GetAttributeFloat(string, float)​

public static float GetAttributeFloat(string attrName, float defValue);
ParameterTypeDescription
attrNamestring
defValuefloat

Source:Utils/XMLIterator.cs (line 297)

GetAttributeInt(string)​

public static int GetAttributeInt(string attrName);
ParameterTypeDescription
attrNamestring

Source:Utils/XMLIterator.cs (line 274)

GetAttributeInt(string, int)​

public static int GetAttributeInt(string attrName, int defValue);
ParameterTypeDescription
attrNamestring
defValueint

Source:Utils/XMLIterator.cs (line 279)

GetAttributes(Dictionary<string, string>)​

public static Dictionary<string, string> GetAttributes(Dictionary<string, string> result);
ParameterTypeDescription
resultDictionary<string, string>

Source:Utils/XMLIterator.cs (line 328)

GetAttributes(Hashtable)​

public static Hashtable GetAttributes(Hashtable result);
ParameterTypeDescription
resultHashtable

Source:Utils/XMLIterator.cs (line 344)

GetRawText(bool)​

public static string GetRawText(bool trim = false);
ParameterTypeDescription
trimbool

Source:Utils/XMLIterator.cs (line 191)

GetTagSource()​

public static string GetTagSource();

Source:Utils/XMLIterator.cs (line 186)

GetText(bool)​

public static string GetText(bool trim = false);
ParameterTypeDescription
trimbool

Source:Utils/XMLIterator.cs (line 214)

HasAttribute(string)​

public static bool HasAttribute(string attrName);
ParameterTypeDescription
attrNamestring

Source:Utils/XMLIterator.cs (line 237)

NextTag()​

public static bool NextTag();

Source:Utils/XMLIterator.cs (line 55)