The MarcNodeList type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
MarcNodeList |
初始化一个 MarcNodeList 对象
| |
MarcNodeList(MarcNode) |
初始化一个 MarcNodeList 对象,并填入一个 MarcNode 对象
|
Methods
Name | Description | |
---|---|---|
add(MarcNode) |
在当前集合末尾添加一个元素
| |
add(MarcNodeList) |
在当前集合末尾添加若干元素
| |
after(String) |
在当前集合中每个元素的 DOM 位置后面插入新元素,新元素由指定的源字符串构造
| |
after(MarcNodeList) |
在当前集合中每个元素的 DOM 位置后面插入指定的源集合内的元素
| |
append(String) |
在当前集合中每个元素的 DOM 位置的下级末尾 追加根据源字符串构造的新元素
| |
append(MarcNodeList) |
在当前集合中每个元素的 DOM 位置的下级末尾 追加来自源集合内的元素
| |
appendTo |
将当前集合内的每个元素追加到指定的目标集合的 DOM 位置下级末尾
| |
clear |
清除当前集合中的全部元素
| |
clone |
根据当前集合复制出一个新的集合对象。本方法采取的是否深度复制策略,即新集合中的每个元素都是复制品
| |
detach |
把当前集合内的每个元素从 DOM 位置摘除
| |
dump |
输出当前对象的调试用字符串
| |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
first |
获得当前集合的第一个元素
| |
getAt(Int32) |
获得指定下标位置的元素
| |
getAt(Int32, Int32) |
获得当前集合中一段范围的元素
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
indexOf |
获得一个元素在集合中的下标
| |
insert |
在当前集合指定的下标位置插入一个元素
| |
insertAfter |
将当前集合中的每个元素插入到指定的目标集合的每个元素的 DOM 位置后面
| |
insertSequence |
向当前集合中添加一个节点元素,按节点名字顺序决定加入的位置
| |
last |
获得当前集合的最后一个元素
| |
MemberwiseClone | (Inherited from Object.) | |
prepend(String) |
在当前集合的每个元素的 DOM 位置的下级开头插入根据指定的源字符串构造的新元素
| |
prepend(MarcNodeList) |
在当前集合的每个元素的 DOM 位置的下级开头插入源集合内的元素
| |
prependTo |
将当前集合内的全部元素插入到指定的目标集合的 DOM 位置下级开头
| |
remove |
从当前集合中移走全部元素。注意,本函数并不修改所移走的元素的 Parent 成员。也就是说移走的元素并未完全被摘除
| |
remove(MarcNode) |
从当前集合中移走指定的元素
| |
removeAt |
从指定下标位置移走一个元素
| |
select |
针对当前集合中的全部元素进行 XPath 选择
| |
sort |
对集合进行排序。按照节点名升序排序
| |
sort(IComparer MarcNode ) |
对集合进行排序
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllText |
获得当前集合中全部元素的 Text 值所连接起来的一个字符串值
| |
Content |
修改当前集合中每个元素的 Content 值
| |
count |
当前集合中的元素个数
| |
FirstChild |
获得当前集合中所有元素的第一个下级元素。注意这是一个集合
| |
FirstContent |
获得当前集合中第一个元素的 Content 值
| |
FirstIndicator |
获得当前集合中第一个元素的 Indicator 值
| |
FirstIndicator1 |
获得当前集合中中第一个元素的 Indicator1 值
| |
FirstIndicator2 |
获得当前集合的第一个元素的 Indicator2 值
| |
FirstLeading |
获得当前集合中第一个 MarcField 类型元素的 Leading 值。注意,只有 MarcField 类型的节点才有 Leading 值。
| |
FirstName |
获得当前集合中第一个元素的 Name 值
| |
FirstText |
获得当前集合第一个元素的 Text 值
| |
Indicator |
修改当前集合中每个元素的 Indicator 值
| |
Indicator1 |
修改当前集合中每个元素的 Indicator1 值
| |
Indicator2 |
修改当前集合中每个元素的 Indicator2 值
| |
Item |
根据下标存取集合的元素
| |
LastChild |
获得当前集合中所有元素的最后一个下级元素。注意这是一个集合
| |
Leading |
修改当前集合中每个 MarcField 类型的元素的 Leading 值
| |
length |
当前集合中的元素个数
| |
Name |
修改当前集合中的每个元素的 Name 值
| |
Text |
修改当前集合中每个元素的 Text 值
|
See Also