DTDSubsetImpl.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:woodstox 作者:
private static void checkNotations(HashMap<String,NotationDeclaration> fromInt, HashMap<String,NotationDeclaration> fromExt)
    throws XMLStreamException
{
    /* Since it's external subset that would try to redefine things
     * defined in internal subset, let's traverse definitions in
     * the ext. subset first (even though that may not be the fastest
     * way), so that we have a chance of catching the first problem
     * (As long as Maps iterate in insertion order).
     */
    for (Map.Entry<String, NotationDeclaration> en : fromExt.entrySet()) {
        if (fromInt.containsKey(en.getKey())) {
            throwNotationException(fromInt.get(en.getKey()), en.getValue());
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号