/** Constructor. */
public BasicParserPool() {
maxPoolSize = 5;
builderPool = new Stack<SoftReference<DocumentBuilder>>();
builderAttributes = new LazyMap<String, Object>();
coalescing = true;
expandEntityReferences = true;
builderFeatures = new LazyMap<String, Boolean>();
ignoreComments = true;
ignoreElementContentWhitespace = true;
namespaceAware = true;
schema = null;
dtdValidating = false;
xincludeAware = false;
errorHandler = new LoggingErrorHandler(log);
try {
dirtyBuilderConfiguration = true;
initializePool();
} catch (XMLParserException e) {
// default settings, no parsing exception
}
}
BasicParserPool.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录