If your XML documents have references to external entities or external DTDs, you can improve the performance of your application by loading these entities into memory using an entity resolver.
如果XML文档包含了对外部实体或外部DTD的引用,那么,通过使用实体分解器将这些实体装载到内存中,可以提高应用程序的性能。
Write your entity resolver so it caches the content of the entity the first time it is read.
编写实体分解器,使它在实体第一次被读取的时候缓存该实体的内容。
Addressing the portal resolver framework directly.
直接访问门户分解器框架。
You can register your entity resolver on your parser as shown in Listing 4.
您可以将实体解析器注册在分析器上,如“清单4”中所示。
We also pass a database connection to the resolver, so the resolver can work against any JDBC connection.
我们还传递了一个数据库连接到该解析器,以便它能够针对任何JD BC连接而工作。
In Listing 5, the code using this resolver USES the new prefix.
在清单5中,使用此解析器的代码还使用了新的前缀。
In Listing 7, you can see where we instantiate this resolver after defining some basic named queries.
在清单7中,我们在定义了一些基本的已命名查询后实例化这个解析器。
We also use an appropriate resolver to execute the query, much as we did in the previous scenario.
我们也使用了一个适当的解析器来执行查询,就跟我们在前一场景中所做的一样。
In addition, Part 1 of this article series briefly discusses other possible approaches to designing a resolver; for an example, see Listing 14 of that article (see Resources).
此外,本系列第1部分简要讨论了其他可能的设计解析器的方法;例如,请参见那篇文章中的清单14(参见参考资料)。
As in our previous scenarios, this example also relies on a resolver to execute the database operation.
跟我们的前一场景一样,本例也依赖于解析器来执行数据库操作。
New name resolver caching daemon allowing requests to resolve hostnames to improve the efficiencies of these requests.
提供新的名称解析器缓存守护进程,可以更高效地处理主机名解析请求。
Using the more general collection and results resolver approach handles most cases in a natural and consistent way.
使用更常规的集合和结果解析器能够以一种自然统一的方式处理大多数情况。
This resolver, like the rest of the sample code discussed in this article, is available for download.
此解析器跟本文中讨论的其他样例代码一样,可以下载得到。
Cubans even have a term for obtaining the things they need, legally or illegally: "resolver," which loosely translates as solving a problem.
古巴人甚至有个描述他们合法或非法地获得需要物资的词:“分解器”,这个词不是很精确的可以翻译为解决问题的意思。
This collection resolver looks up the named query as provided by the user, attaches the position parameters, and executes JDBC statements against the database.
这个集合解析器查询用户提供的已命名查询,附加位置参数,并针对数据库执行JDBC语句。
The resolver looks at the metadata type on the returned row and column, ensuring it only reads XML columns with the SQLXML type.
这个解析器检查返回的行和列上的元数据类型,以确保它只读取sqlxml类型的xml列。
Our resolver implementation is identical to the resolver described in Listing 8 of Part 1 of this article series, so we won't review it in detail here.
我们的解析器实现跟本系列第1部分清单8中描述的解析器相同,所以这里不再详细复习它。
On the other hand, if you choose to access row data through the value binding, then you must consult the JSF variable resolver.
另一方面,如果选择通过值绑定访问行数据,则必须咨询J SF变量解析器。
The wrapped value is now available to the JSF variable resolver, and thus the view.
现在JSF变量解析器和视图就可以使用包装的值。
This resolver is basically the same as the simpler sample shown earlier of reading XML data through JDBC 4.0.
从根本上说,这个解析器与此前展示的那个使用JDBC 4.0读取XML数据的简单示例相同。
Next, the application specifies an appropriate collection resolver.
接下来,应用程序指定一个适当的集合解析器。
The resolver was also a very challenging part, but from the pure complexity inherent to the problem.
从纯粹的内在复杂性来讲,解析器也极具挑战。
The sample's result resolver will then resolve this statement to a named query which we predefined as.
这个样例的结果解析器然后将这个语句解析为一个我们预先定义的已命名查询。
To achieve true integration with Spring, you need a better solution than a custom variable resolver.
要获得与Spring的真正集成,需要比定制变量解析器更好的解决方案。
With the same results resolver approach, you can direct an XQuery 1.0 program to write output to an XML database.
使用相同的结果解析器方法,可以指示一个XQuery 1.0程序将输出写入一个XML数据库。
The "server" side of this resolver solution is called an LSID authority.
这一解析器解决方案的“服务器”端名为LSID中心(LSID authority)。
Defines a view resolver using the bean name that the user specifies.
使用用户指定的bean名称定义一个视图解析器。
Spring comes with a variable resolver implementation class that lets you reference Spring managed beans in JSF expressions.
Spring附带了一个变量解析器实现类,允许您在JSF表达式中引用 Spring托管Bean。
Use Spring's DelegatingVariableResolver in JSF's configuration file as in this article's "Defining an expression resolver" section.
按照本文的“定义表达式解析器”一节描述的那样在JSF配置文件中使用Spring的DelegatingVariableResolver。
The search parameter provides a list of domains to the resolver to use when resolving an IP address or host name.
search参数为解析程序提供解析ip地址或主机名时使用的域的列表。
应用推荐