// Node node1 = getFirstChildByName(parse.getDocumentElement(),
// "styleMap");
// String node1Name = node1.getNodeName();
NodeList nodeList = node0.getChildNodes();
ColorParser cParser = new ColorParser();
for (int i = 0; i < nodeList.getLength(); i++) {
Node node = nodeList.item(i);
String nodeName = node.getNodeName();
if (nodeName.equals("rule")) {
NodeList childrenList = node.getChildNodes();
String type = "";
String label = "";
StyleMapEntry sme = null;
String colorText = "";
for (int j = 0; j < childrenList.getLength(); j++) {
Node child = childrenList.item(j);
String childName = child.getNodeName();
if (childName.equals("pattern")) {
type = getTextValue(child);
}
if (childName.equals("label")) {
label = getTextValue(child);
}
if (childName.equals("style")) {
colorText = getTextValue(child);
}
}
sme = cParser.parseAndAssignColors(type, label, label, colorText);
if (!sme.getChecked()) {
notCheckedList.add(sme.getAnnotationTypeName());
}
if (!sme.getHidden()) {
colorList.add(sme.getBackground());