ReferencePropertyInfoImpl.java 文件源码

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

项目:infobip-open-jdk-8 作者:
private String getEffectiveNamespaceFor(XmlElementRef r) {
    String nsUri = r.namespace();

    XmlSchema xs = reader().getPackageAnnotation( XmlSchema.class, parent.getClazz(), this );
    if(xs!=null && xs.attributeFormDefault()== XmlNsForm.QUALIFIED) {
        // JAX-RPC doesn't want the default namespace URI swapping to take effect to
        // local "unqualified" elements. UGLY.
        if(nsUri.length()==0)
            nsUri = parent.builder.defaultNsUri;
    }

    return nsUri;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号