The MarcNode type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | MarcNode |
初始化一个 MarcNode 对象
|
![]() | MarcNode(MarcNode) |
初始化一个 MarcNode对象,并设置好其 Parent 成员
|
Methods
Name | Description | |
---|---|---|
![]() | after(String) |
用指定的字符串构造出新的节点,插入到当前节点的后面兄弟位置
|
![]() | after(MarcNode) |
将指定节点插入到当前节点的后面兄弟位置
|
![]() | append(String) |
用指定的字符串构造出新的节点,追加到当前节点的子节点末尾
|
![]() | append(MarcNode) |
将指定节点追加到当前节点的子节点尾部
|
![]() | appendTo |
将当前节点追加到指定(目标)节点的子节点末尾
|
![]() | clone |
创建一个新的节点对象,从当前对象复制出全部内容
|
![]() | detach |
将当前节点从父节点摘除。但依然保留对当前节点对下级的拥有关系
|
![]() | dump |
输出当前对象的调试用字符串
|
![]() | dumpChildren |
输出当前对象的全部子对象的调试用字符串
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | (Inherited from ![]() |
![]() | getPath |
获得表示当前对象的位置的路径。用于比较节点之间的位置关系
|
![]() | getRootNode |
获得根节点
|
![]() | ![]() | (Inherited from ![]() |
![]() ![]() | isControlFieldName |
检测一个字段名是否为控制字段(的字段名)
|
![]() | ![]() | (Inherited from ![]() |
![]() | prepend(String) |
用指定的字符串构造出新节点,插入到当前节点的子节点开头
|
![]() | prepend(MarcNode) |
将指定的(源)节点插入到当前节点的子节点开头位置
|
![]() | prependTo |
将当前节点插入到指定的(目标)节点的子节点的开头
|
![]() | remove |
从父节点(的子节点集合中)将当前节点移走。注意,本操作并不修改当前节点的 Parent 成员,也就是说 Parent 成员依然指向父节点
|
![]() | select |
用 XPath 字符串选择节点
|
![]() | ![]() | (Inherited from ![]() |
Fields
Name | Description | |
---|---|---|
![]() | ChildNodes |
子节点集合
|
![]() | NodeType |
节点类型
|
![]() | Parent |
父节点
|
Properties
Name | Description | |
---|---|---|
![]() | Content |
节点的正文内容
|
![]() | FirstChild |
当前节点的第一个子节点
|
![]() | Indicator |
节点的指示符
|
![]() | Indicator1 |
指示符的第一个字符
|
![]() | Indicator2 |
指示符的第二个字符
|
![]() | isEmpty |
检测节点内容是否为空
|
![]() | LastChild |
当前节点的最后一个子节点
|
![]() | Name |
节点的名字
|
![]() | Root |
根节点
|
![]() | Text |
节点的全部文字,MARC 机内格式表现形态
|
See Also