mGradients = new HashMap<String, DrawGradientElement>();
}
mGradients.put(gradient.getDrawNameAttribute(), gradient);
} else if (node instanceof DrawHatchElement) {
DrawHatchElement hatch = (DrawHatchElement) node;
if (mHatches == null) {
mHatches = new HashMap<String, DrawHatchElement>();
}
mHatches.put(hatch.getDrawNameAttribute(), hatch);
} else if (node instanceof DrawFillImageElement) {
DrawFillImageElement fillImage = (DrawFillImageElement) node;
if (mFillImages == null) {
mFillImages = new HashMap<String, DrawFillImageElement>();