删除节点后,dojo树如图4所示。
新的过滤器API使您可以在解析期间通过请求解析器接受、忽略一个节点及其子节点或者将它们从产生的树中删除,来检查和修改文档的结构。
The new filter API lets you examine and modify a document’s structure during parsing by asking a parser to accept, skip, or remove a node and its children from the resulting tree.
当找到正确的节点时,无论DOM树中的父节点有多少个,都返回节点并删除高亮显示。
When the correct node is found, regardless of the number of parents up the DOM tree it is, the node is returned and the highlighting removed.
当您使用JsonRestStore提供的方法时,就能够轻松地更新、添加和删除dojo树。
Updating, adding, and deleting Dojo trees can be easy when you use the methods provided by JsonRestStore.
在BARfiles树中可以删除本地代理资源。
You can also delete local broker resources in the BAR Files tree.
所有节点能通过树访问。节点可以被修改或删除,也可以建立新的元素。
All nodes can be accessed through the tree. Their contents can be modified or deleted, and new elements can be created.
首先,删除空闲树中(大于或等于请求的块大小的)地址最低的节点。
First, the node from the free tree with the lowest address (which is greater than or equal to the requested block size) is removed.
目录服务未能为删除目录树而将其锁定。
The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.
Bazaar文档指出,“定义视图并不删除工作树中的其他文件—视图只是提供一个覆盖在工作树上的‘窗口’。”
As the Bazaar documentation summarizes, "Defining a view does not delete the other files in the working tree-it merely provides a 'lens' over the working tree."
以XML树型结构支持命名空间的操作,任意元素上都可以增加、修改或删除命名空间的声明,还可以从JDOM结构中移除声明。
Namespace manipulation is now supported in the XML tree, including the ability to add, modify, or delete namespace declarations on any element or remove the declaration from the JDOM structure.
清单2显示了这个继承树(为了清晰起见,删除了实例计数器和构造函数代码)。
Listing 2 shows the inheritance tree (with the instance counter and constructor code removed for clarity).
您可以遍历文档树、删除节点或者嫁接新节点。
You can traverse the document tree, prune nodes, or graft on new ones.
在解析时,引号导致将其中包括的所有字符视为数据,而不会潜在地将其视为标记,并且始终会在将数据添加到树之前删除引号。
When parsing, quotes cause all enclosed characters to be treated as data and not potentially as markup, and the quotes are always stripped before data is added to the tree.
每次向树中添加顶点后,都要遍历优先级队列查找并删除这样的边。
We could go through the queue looking for and removing any such edges each time we added a new vertex to the tree.
删除或安装应用程序(不是必须与可执行文件一一对应)只需要解包或删除文件系统树中的分支。
Deleting or installing applications (which is not necessarily one-to-one with executables) is just a matter of unpacking or deleting branches to the file system tree.
要从Serverexplorer树中删除视图,右键单击树中相应的视图节点,然后选择Delete选项。
To delete the views from the Server Explorer tree, right-click on the appropriate view node in the tree, and select the delete option.
要从Serverexplorer树中删除表,右键单击树中相应的表节点,然后选择Delete选项。
To delete tables from the Server Explorer tree, right-click on the appropriate table node in the tree, and choose the delete option.
清单7显示了从树中删除节点的代码段。
Listing 7 shows the code snippet that's handling the deletion of a node from the tree.
要从Serverexplorer树中删除存储过程,右键单击树中相应的存储过程节点,然后选择Delete菜单选项。
To delete stored procedures from the server explorer tree, right-click on the appropriate stored procedure node in the tree, and select the delete menu option.
当排序变量设置为true时,会按照正确的顺序将两个受影响的项目重新创建为新的树项目,旧项目将从树中删除(第51 - 67和91 - 107行)。
When the sort variable is set to true, the two affected items are recreated as new tree items in the correct order, and the old items are removed from the tree (lines 51 to 67 and 91 to 107).
如果在大小树中找到的块正好是请求的大小,那么从大小树和地址树中删除这个块并返回给调用者。
If the block found in the size tree is exactly the required size, the block is removed from both the size and the address tree and then returned to the caller.
如果在大小树中找到的块正好是请求的大小,那么从大小树和地址树中删除这个块并返回给调用者。
If the block found in the size tree is exactly the required size, the block is removed from both the size and the address tree and then returned to the caller.
应用推荐