C# 클래스 a.spritestudio.editor.xml.NodeReader

ノードのデータ取り出し
파일 보기 프로젝트 열기: cfm-art/SpriteStudioPlayerForUGUI 1 사용 예제들

공개 메소드들

메소드 설명
AtBoolean ( ) : bool

boolで取得

AtBoolean ( string tag ) : bool

子供からboolで取得

AtBooleans ( char separator ) : bool[]

boolの配列で取得

AtBooleans ( string tag, char separator ) : bool[]

boolの配列で取得

AtFloat ( ) : float

floatで取得

AtFloat ( string tag ) : float

子供からfloatで取得

AtFloats ( char separator ) : float[]

floatの配列で取得

AtFloats ( string tag, char separator ) : float[]

子供からfloatの配列で取得

AtInteger ( ) : int

intで取得

AtInteger ( string tag ) : int

子供からintで取得

AtIntegers ( char separator ) : int[]

intの配列で取得

AtIntegers ( string tag, char separator ) : int[]

子供からintの配列で取得

AtText ( ) : string

文字列で取得

AtText ( string tag ) : string

文字列で取得

AtTexts ( char separator ) : string[]

文字列の配列で取得

AtTexts ( string tag, char separator ) : string[]

文字列の配列で取得

Attribute ( string tag ) : AttributeReader

属性の取得

Child ( string tag ) : NodeReader

子供を1つ取得

ChildOrNull ( string tag ) : NodeReader

子供を1つ取得。無ければnull

Children ( string tag ) : NodeListReader

子供を全て取得

IsTrue ( string v ) : bool

文字列がtrue相当か判定

Next ( ) : NodeReader

同階層の次のノード

NodeReader ( XmlNode node ) : System.Xml

findFirst ( XmlDocument xml, string tag ) : NodeReader

ノードの検索

메소드 상세

AtBoolean() 공개 메소드

boolで取得
public AtBoolean ( ) : bool
리턴 bool

AtBoolean() 공개 메소드

子供からboolで取得
public AtBoolean ( string tag ) : bool
tag string
리턴 bool

AtBooleans() 공개 메소드

boolの配列で取得
public AtBooleans ( char separator ) : bool[]
separator char
리턴 bool[]

AtBooleans() 공개 메소드

boolの配列で取得
public AtBooleans ( string tag, char separator ) : bool[]
tag string
separator char
리턴 bool[]

AtFloat() 공개 메소드

floatで取得
public AtFloat ( ) : float
리턴 float

AtFloat() 공개 메소드

子供からfloatで取得
public AtFloat ( string tag ) : float
tag string
리턴 float

AtFloats() 공개 메소드

floatの配列で取得
public AtFloats ( char separator ) : float[]
separator char
리턴 float[]

AtFloats() 공개 메소드

子供からfloatの配列で取得
public AtFloats ( string tag, char separator ) : float[]
tag string
separator char
리턴 float[]

AtInteger() 공개 메소드

intで取得
public AtInteger ( ) : int
리턴 int

AtInteger() 공개 메소드

子供からintで取得
public AtInteger ( string tag ) : int
tag string
리턴 int

AtIntegers() 공개 메소드

intの配列で取得
public AtIntegers ( char separator ) : int[]
separator char
리턴 int[]

AtIntegers() 공개 메소드

子供からintの配列で取得
public AtIntegers ( string tag, char separator ) : int[]
tag string
separator char
리턴 int[]

AtText() 공개 메소드

文字列で取得
public AtText ( ) : string
리턴 string

AtText() 공개 메소드

文字列で取得
public AtText ( string tag ) : string
tag string
리턴 string

AtTexts() 공개 메소드

文字列の配列で取得
public AtTexts ( char separator ) : string[]
separator char
리턴 string[]

AtTexts() 공개 메소드

文字列の配列で取得
public AtTexts ( string tag, char separator ) : string[]
tag string
separator char
리턴 string[]

Attribute() 공개 메소드

属性の取得
public Attribute ( string tag ) : AttributeReader
tag string
리턴 AttributeReader

Child() 공개 메소드

子供を1つ取得
public Child ( string tag ) : NodeReader
tag string
리턴 NodeReader

ChildOrNull() 공개 메소드

子供を1つ取得。無ければnull
public ChildOrNull ( string tag ) : NodeReader
tag string
리턴 NodeReader

Children() 공개 메소드

子供を全て取得
public Children ( string tag ) : NodeListReader
tag string
리턴 NodeListReader

IsTrue() 공개 정적인 메소드

文字列がtrue相当か判定
public static IsTrue ( string v ) : bool
v string
리턴 bool

Next() 공개 메소드

同階層の次のノード
public Next ( ) : NodeReader
리턴 NodeReader

NodeReader() 공개 메소드

public NodeReader ( XmlNode node ) : System.Xml
node System.Xml.XmlNode
리턴 System.Xml

findFirst() 공개 정적인 메소드

ノードの検索
public static findFirst ( XmlDocument xml, string tag ) : NodeReader
xml System.Xml.XmlDocument
tag string
리턴 NodeReader