Java Code Examples for com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl#EMPTY_LIST

The following examples show how to use com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl#EMPTY_LIST . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PSVIAttrNSImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 2
Source File: PSVIAttrNSImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 3
Source File: PSVIElementNSImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 4
Source File: PSVIElementNSImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 5
Source File: ElementPSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 6
Source File: ElementPSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 7
Source File: AttributePSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 8
Source File: AttributePSVImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 9
Source File: PSVIAttrNSImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 10
Source File: PSVIAttrNSImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 11
Source File: PSVIElementNSImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 12
Source File: PSVIElementNSImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example 13
Source File: ElementPSVImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 14
Source File: ElementPSVImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 15
Source File: AttributePSVImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
}
 
Example 16
Source File: AttributePSVImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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);
}