步骤5:自定义树导航。
在考虑树操作问题之前,让我们来看看将用于定义树的各个节点的数据结构。
Before we consider the question of tree manipulation, let's consider the data structure we'll use to define each node of the tree.
在全局参数之后需要定义一些模块,每个模块将一个目录参数全局定义树导出成一个符号名。
After the global parameters you should define a number of modules, each module exports a directory tree as a symbolic name.
因为这些新页面是在分离的页面层次中定义的,所以缺省门户导航树不包含到这些新页面的链接。
Because these new pages have been defined in separate page hierarchies, the navigation for the default portal does not include links to them.
在《物种起源》一书中,达尔文将退化的器官认定为进化的证据,它们的存在帮助我们定义和形成了人类的进化树。
In on the Origin of Species, Charles Darwin used vestigial organs as evidence for evolution, and their presence has helped define and shape our phylogenetic trees.
所创建的消息定义同时定义了soap域树本身和可出现在其中的特定于应用程序的数据。
The message definitions created define both the SOAP domain tree itself and the application-specific data that can appear within it.
类型树是定义输入和输出数据的格式的数据定义文件。
Type Trees are the data definition files that define the format of the input and output data.
类型树也包含用于定义ISO8583模型(定义每个字段的长度)的信息。
The type tree also has information contained within it that defines the ISO8583 model (how long each field is defined to be).
XSLT 2.0规范引入了很多特性,比如函数定义、多结果文档、序列和临时树、更强的类型设置以及文本分析。
Many features were introduced in the XSLT 2.0 specification-features like function definitions, multiple result documents, sequences and temporary trees, stronger typing, and text parsing.
在层次数据库(HDBMS)中,首先是从严格定义的数据节点树开始的。
In a hierarchical database (HDBMS), you begin with a strictly defined tree of data nodes.
要在预设的影像树中链接自定义的元素,您需要使用新的元素。
To link a custom element with a pre-set shadow tree, you need to use the new element.
查看者透视图的导航树和视图查询定义分别显示在清单4和5中。
The Navigation Tree and View Query definitions for the Viewer perspective are shown in Listings 4 and 5, respectively.
甚至可以在xml树的特定路径上定义索引来改善性能。
Indexes can even be defined on particular paths in the XML trees to improve performance.
下面是XHTML的部分内容,展示了如何自定义JSF组件用来产生DOJO的树和标签面板窗口部件。
The following portion of XHTML file shows how the custom JSF compoenent was used to generate the DOJO's tree and tabbed pane widgets.
也就是说,MXTOPIC配置文件的作用必须在主题树的拓扑和已定义的TOPIC对象的上下文中理解。
That is, the effect of your MXTOPIC profiles must be understood within the context of the topology of your topic trees and the topic objects that you have defined.
这是因为soap树中的这些项定义为通配符。
This is because these items in the SOAP tree are defined as wildcards.
您应该使用规则集或决策树来定义一组规则吗?
Should you use a rule set or a decision tree to define a group of rules?
树是一个定义了“父子”关系的层次结构。
A tree is a hierarchical structure that defines a parent-child relationship.
定义语言就是定义它的抽象句法树,它的抽象文法。
You define a language by defining the structure of its abstract syntax tree, its abstract grammar.
该元素的内容被自动复制到绑定时定义的每个元素实例的影像树中。
The contents of this element are automatically copied into the shadow tree of each instance of the element for which it is defined at binding time.
XML化的主要任务是解析源文件,根据源文件定义构造DOM树。
The main task of XMLizing is to parse the source and construct a DOM tree according to the source file definition.
清单4.查看者透视图的导航树定义。
Listing 4. Navigation Tree definition for the Viewer perspective.
WS - Notification规范将业务消息定义为SOAPElement (xml树),如果使用此规范,则需要采用不同的方法处理接口定义。
Using the WS-Notification specification, which defines a business message as a SOAPElement (an XML tree), requires a different approach to interface definition.
您需要为树定义一个新内容类型,这样Dojo客户端就可以区分和显示不同小部件上的数据,如清单15所示。
You need to define a new content type for the tree so Dojo clients can differentiate and render the data on different widgets, as shown in Listing 15.
SelectionListener实现的构造函数接受一个布尔变量,该变量定义要展开还是折叠树项目,具体取决于选中了哪个按钮。
The constructor for the SelectionListener implementation accepts a Boolean variable that defines whether the tree items are to be expanded or collapsed, depending on which button is selected.
Ruote主要能够读取三种流程定义:Rubydsl,XML和普通树(一般是JSON)。
It can mainly read three flavours of process definitions: a Ruby DSL, a XML and plain trees (usually as JSON).
与dom和dom 4 j一样,AXIOM使用接口定义了用于访问和操作树表示的API。
Like dom and dom4j, AXIOM defines the API used to access and manipulate the tree representation using interfaces.
通过定义更多的目录树,你可以创建目录的继承性,使它属于一个或者另一个目录类型。
By defining more than one category type, you can now create hierarchies of categories belonging to one category type or another.
您可以轻松对它进行自定义,以在平级列表或在具有不同深度的树层次结构中显示导航。
You can easily customize it to show the navigation in a flat list or in a tree hierarchy of varying depth.
要了解这一过程的工作原理,请将XML文档考虑成树结构,其中元素的嵌套定义了树的分支。
To see how this works, think of XML documents as tree structures, where the nesting of elements define branches of the tree.
应用推荐