当前位置: 首页>>代码示例>>Java>>正文


Java StringListImpl.EMPTY_LIST属性代码示例

本文整理汇总了Java中com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl.EMPTY_LIST属性的典型用法代码示例。如果您正苦于以下问题:Java StringListImpl.EMPTY_LIST属性的具体用法?Java StringListImpl.EMPTY_LIST怎么用?Java StringListImpl.EMPTY_LIST使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl的用法示例。


在下文中一共展示了StringListImpl.EMPTY_LIST属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getErrorCodes

/**
 * A list of error codes generated from validation attempts.
 * Need to find all the possible subclause reports that need reporting
 *
 * @return list of error codes
 */
public StringList getErrorCodes() {
    if (fErrorCodes != null) {
        return fErrorCodes;
    }
    return StringListImpl.EMPTY_LIST;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:PSVIAttrNSImpl.java

示例2: getErrorMessages

/**
 * A list of error messages generated from the validation attempt or
 * an empty <code>StringList</code> if no errors occurred during the
 * validation attempt. The indices of error messages in this list are
 * aligned with those in the <code>[schema error code]</code> list.
 */
public StringList getErrorMessages() {
    if (fErrorMessages != null) {
        return fErrorMessages;
    }
    return StringListImpl.EMPTY_LIST;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:PSVIAttrNSImpl.java

示例3: getErrorCodes

/**
 * A list of error codes generated from validation attempts.
 * Need to find all the possible subclause reports that need reporting
 *
 * @return Array of error codes
 */
public StringList getErrorCodes() {
    if (fErrorCodes != null) {
        return fErrorCodes;
    }
    return StringListImpl.EMPTY_LIST;
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:PSVIElementNSImpl.java

示例4: getErrorCodes

/**
 * A list of error codes generated from validation attempts.
 * Need to find all the possible subclause reports that need reporting
 *
 * @return Array of error codes
 */
public StringList getErrorCodes() {
    if (fErrors == null || fErrors.length == 0) {
        return StringListImpl.EMPTY_LIST;
    }
    return new PSVIErrorList(fErrors, true);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:ElementPSVImpl.java

示例5: getErrorMessages

/**
 * A list of error messages generated from the validation attempt or
 * an empty <code>StringList</code> if no errors occurred during the
 * validation attempt. The indices of error messages in this list are
 * aligned with those in the <code>[schema error code]</code> list.
 */
public StringList getErrorMessages() {
    if (fErrors == null || fErrors.length == 0) {
        return StringListImpl.EMPTY_LIST;
    }
    return new PSVIErrorList(fErrors, false);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:ElementPSVImpl.java

示例6: getErrorCodes

/**
 * A list of error codes generated from validation attempts.
 * Need to find all the possible subclause reports that need reporting
 *
 * @return list of error codes
 */
public StringList getErrorCodes() {
    if (fErrors == null || fErrors.length == 0) {
        return StringListImpl.EMPTY_LIST;
    }
    return new PSVIErrorList(fErrors, true);
}
 
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:12,代码来源:AttributePSVImpl.java


注:本文中的com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl.EMPTY_LIST属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。