.getDictionaryObject(PATTERN_KEY_SHADING);
if (shadings != null) {
for (COSName key : shadings.keySet()) {
COSDictionary aShading = (COSDictionary) shadings.getDictionaryObject(key);
ShadingPattern sp = new ShadingPattern(handler, aShading);
List<ValidationError> lErrors = sp.validate();
if (lErrors != null && !lErrors.isEmpty()) {
result.addAll(lErrors);
res = false;
}
}