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);
| Parameter | Type | Description |
|---|---|---|
source | string | |
lowerCaseName | bool |
Source:Utils/XMLIterator.cs (line 43)
GetAttribute(string)
public static string GetAttribute(string attrName);
| Parameter | Type | Description |
|---|---|---|
attrName | string |
Source:Utils/XMLIterator.cs (line 249)
GetAttribute(string, string)
public static string GetAttribute(string attrName, string defValue);
| Parameter | Type | Description |
|---|---|---|
attrName | string | |
defValue | string |
Source:Utils/XMLIterator.cs (line 265)
GetAttributeBool(string)
public static bool GetAttributeBool(string attrName);
| Parameter | Type | Description |
|---|---|---|
attrName | string |
Source:Utils/XMLIterator.cs (line 310)
GetAttributeBool(string, bool)
public static bool GetAttributeBool(string attrName, bool defValue);
| Parameter | Type | Description |
|---|---|---|
attrName | string | |
defValue | bool |
Source:Utils/XMLIterator.cs (line 315)
GetAttributeFloat(string)
public static float GetAttributeFloat(string attrName);
| Parameter | Type | Description |
|---|---|---|
attrName | string |
Source:Utils/XMLIterator.cs (line 292)
GetAttributeFloat(string, float)
public static float GetAttributeFloat(string attrName, float defValue);
| Parameter | Type | Description |
|---|---|---|
attrName | string | |
defValue | float |
Source:Utils/XMLIterator.cs (line 297)
GetAttributeInt(string)
public static int GetAttributeInt(string attrName);
| Parameter | Type | Description |
|---|---|---|
attrName | string |
Source:Utils/XMLIterator.cs (line 274)
GetAttributeInt(string, int)
public static int GetAttributeInt(string attrName, int defValue);
| Parameter | Type | Description |
|---|---|---|
attrName | string | |
defValue | int |
Source:Utils/XMLIterator.cs (line 279)
GetAttributes(Dictionary<string, string>)
public static Dictionary<string, string> GetAttributes(Dictionary<string, string> result);
| Parameter | Type | Description |
|---|---|---|
result | Dictionary<string, string> |
Source:Utils/XMLIterator.cs (line 328)
GetAttributes(Hashtable)
public static Hashtable GetAttributes(Hashtable result);
| Parameter | Type | Description |
|---|---|---|
result | Hashtable |
Source:Utils/XMLIterator.cs (line 344)
GetRawText(bool)
public static string GetRawText(bool trim = false);
| Parameter | Type | Description |
|---|---|---|
trim | bool |
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);
| Parameter | Type | Description |
|---|---|---|
trim | bool |
Source:Utils/XMLIterator.cs (line 214)
HasAttribute(string)
public static bool HasAttribute(string attrName);
| Parameter | Type | Description |
|---|---|---|
attrName | string |
Source:Utils/XMLIterator.cs (line 237)
NextTag()
public static bool NextTag();
Source:Utils/XMLIterator.cs (line 55)