xlang v5.1 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
XmlObject类 参考
XmlObject 的协作图:
Collaboration graph

Public 成员函数

静态 Public 属性

详细描述

XmlObject类,用于表示和处理XML文档中的各种对象 包括文档、元素、声明、注释、文本和属性等类型

在文件 XmlObject.x5 行定义.

构造及析构函数说明

◆ XmlObject() [1/2]

XmlObject ( )

◆ XmlObject() [2/2]

成员函数说明

◆ addComment()

◆ addDeclaration()

◆ addElement()

◆ addText()

◆ asJson()

JsonNode asJson ( )

◆ attribute()

XmlObject attribute ( ) throws NullPointerException

◆ child()

XmlObject child ( ) throws NullPointerException

◆ finalize()

void finalize ( )

◆ getAttributes()

XmlObject getAttributes ( String  )

◆ getElements()

XmlObject [] getElements ( String  )

◆ name()

String name ( ) throws NullPointerException

◆ next()

◆ parent()

XmlObject parent ( ) throws NullPointerException

◆ previous()

◆ remove()

◆ root()

XmlObject root ( )

◆ setAttribute()

void setAttribute ( String  ,
  String 
)

◆ setName()

void setName ( String  ) throws NullPointerException

◆ setText()

void setText ( String  ) throws NullPointerException

◆ setValue()

void setValue ( String  ) throws NullPointerException

◆ toString() [1/2]

◆ toString() [2/2]

◆ type()

int type ( ) throws NullPointerException

◆ value()

结构体成员变量说明

◆ Attribute

const int Attribute
static

在文件 XmlObject.x13 行定义.

◆ Comment

const int Comment
static

在文件 XmlObject.x11 行定义.

◆ Declaration

const int Declaration
static

在文件 XmlObject.x10 行定义.

◆ Document

const int Document
static

在文件 XmlObject.x8 行定义.

◆ Element

const int Element
static

在文件 XmlObject.x9 行定义.

◆ Text

const int Text
static

在文件 XmlObject.x12 行定义.