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);
| 参数 | 类型 | 说明 |
|---|---|---|
source | string | |
lowerCaseName | bool |
源码:Utils/XMLIterator.cs (行 43)
GetAttribute(string)
public static string GetAttribute(string attrName);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string |
源码:Utils/XMLIterator.cs (行 249)
GetAttribute(string, string)
public static string GetAttribute(string attrName, string defValue);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string | |
defValue | string |
源码:Utils/XMLIterator.cs (行 265)
GetAttributeBool(string)
public static bool GetAttributeBool(string attrName);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string |
源码:Utils/XMLIterator.cs (行 310)
GetAttributeBool(string, bool)
public static bool GetAttributeBool(string attrName, bool defValue);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string | |
defValue | bool |
源码:Utils/XMLIterator.cs (行 315)
GetAttributeFloat(string)
public static float GetAttributeFloat(string attrName);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string |
源码:Utils/XMLIterator.cs (行 292)
GetAttributeFloat(string, float)
public static float GetAttributeFloat(string attrName, float defValue);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string | |
defValue | float |
源码:Utils/XMLIterator.cs (行 297)
GetAttributeInt(string)
public static int GetAttributeInt(string attrName);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string |
源码:Utils/XMLIterator.cs (行 274)
GetAttributeInt(string, int)
public static int GetAttributeInt(string attrName, int defValue);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string | |
defValue | int |
源码:Utils/XMLIterator.cs (行 279)
GetAttributes(Dictionary<string, string>)
public static Dictionary<string, string> GetAttributes(Dictionary<string, string> result);
| 参数 | 类型 | 说明 |
|---|---|---|
result | Dictionary<string, string> |
源码:Utils/XMLIterator.cs (行 328)
GetAttributes(Hashtable)
public static Hashtable GetAttributes(Hashtable result);
| 参数 | 类型 | 说明 |
|---|---|---|
result | Hashtable |
源码:Utils/XMLIterator.cs (行 344)
GetRawText(bool)
public static string GetRawText(bool trim = false);
| 参数 | 类型 | 说明 |
|---|---|---|
trim | bool |
源码:Utils/XMLIterator.cs (行 191)
GetTagSource()
public static string GetTagSource();
源码:Utils/XMLIterator.cs (行 186)
GetText(bool)
public static string GetText(bool trim = false);
| 参数 | 类型 | 说明 |
|---|---|---|
trim | bool |
源码:Utils/XMLIterator.cs (行 214)
HasAttribute(string)
public static bool HasAttribute(string attrName);
| 参数 | 类型 | 说明 |
|---|---|---|
attrName | string |
源码:Utils/XMLIterator.cs (行 237)
NextTag()
public static bool NextTag();
源码:Utils/XMLIterator.cs (行 55)