private ElementStyle findElementStyle(String tag) { if (tag != null) { for (ElementStyle elementStyle : elements) { if (elementStyle != null && elementStyle.getTag().equals(tag)) { return elementStyle; } } } return null; }
private ElementStyle findElementStyle(String tag) { if (tag != null) { for (ElementStyle elementStyle : elements) { if (elementStyle != null && elementStyle.getTag().equals(tag)) { return elementStyle; } } } return null; }