资源简介
unity3d读取xml插件Mono.Xml,用于读取xml文件

代码片段和文件信息
//
// System.Security.Cryptography.MiniParser: Internal xml parser implementation
//
// Authors:
// Sergey Chaban
//
// Copyright (c) 2001 2002 Wild West Software
// Copyright (c) 2002 Sergey Chaban
// Copyright (C) 2004 Novell Inc (http://www.novell.com)
//
// Permission is hereby granted free of charge to any person obtaining
// a copy of this software and associated documentation files (the
// “Software“) to deal in the Software without restriction including
// without limitation the rights to use copy modify merge publish
// distribute sublicense and/or sell copies of the Software and to
// permit persons to whom the Software is furnished to do so subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
// EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION
// OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System;
using System.Text;
using System.Collections;
using System.Globalization;
namespace Mono.xml {
internal class MiniParser {
public interface IReader {
int Read();
}
public interface IAttrList {
int Length {get;}
bool IsEmpty {get;}
string GetName(int i);
string GetValue(int i);
string GetValue(string name);
void ChangeValue(string name string newValue);
string[] Names {get;}
string[] Values {get;}
}
public interface IMutableAttrList : IAttrList {
void Clear();
void Add(string name string value);
void CopyFrom(IAttrList attrs);
void Remove(int i);
void Remove(string name);
}
public interface IHandler {
void onstartParsing(MiniParser parser);
void onstartElement(string name IAttrList attrs);
void OnEndElement(string name);
void OnChars(string ch);
void OnEndParsing(MiniParser parser);
}
public class HandlerAdapter : IHandler {
public HandlerAdapter() {}
public void onstartParsing(MiniParser parser) {}
public void onstartElement(string name IAttrList attrs) {}
public void OnEndElement(string name) {}
public void OnChars(string ch) {}
public void OnEndParsing(MiniParser parser) {}
}
private enum CharKind : byte {
LEFT_BR = 0
RIGHT_BR = 1
SLASH = 2
PI_MARK = 3
EQ = 4
AMP = 5
SQUOTE = 6
DQUOTE = 7
BANG = 8
LEFT_SQBR = 9
SPACE = 0xA
RIGHT_SQBR = 0xB
TAB = 0xC
CR = 0xD
EOL = 0xE
CHARS = 0xF
UNKNOWN = 0x1F
}
private enum ActionCode : byte {
START_ELEM
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2007-03-23 00:13 Mono.xm
文件 823 2005-08-03 13:39 Mono.xm
文件 38085 2005-08-03 13:39 Mono.xm
文件 2864 2005-11-11 15:15 Mono.xm
文件 13995 2006-05-20 20:05 Mono.xm
相关资源
- J2EE 配置文件
-
开源tinyxm
l - Unity3D登录界面工程
- 常用编码(UnicodeUTF-8GBK)转换工具
- unity3d反编译工具
-
图片和xm
l格式互换 -
xm
l多个文件合并(delphi) -
xm
l课件及例题(xm l) -
《xm
l编程原理与实例教程》电子教 -
将数据库的表生成xm
l文件 -
简单的xm
l投票系统 - Multivariate spectral gradient projection meth
- Homogenization of Monotone Systems of Non-coer
- New fixed point theorems of e-concave-convex m
-
UnityWebPla
yerFull -
notepad++包含xm
l tools等插件 -
Volley获取json和xm
l数据解析显示 - Investigation of the Absorption Mechanism of G
- Unity纪念碑谷.rar
- Unity3d实现扭动挤压浏览效果
- unity案例入门坦克大战源码
-
李刚疯狂xm
l讲义第2版完整源码 - Unity3D游戏开发.pdf 宣雨松著完整高清
- Unity3D版水果忍者
- unity3d爆炸特效包
- unity3d_见缝插针源码及报告.zip
- Unity3d车库场景模型
- unity3d 警察动画模型
- unity3D 新手引导遮罩,支持圆形和矩形
- unity3d枪支武器包FPS第一人称射击游戏
评论
共有 条评论