| | |
| | | |
| | | for(i = 0; i < attrValList.size(); ++i) { |
| | | attrVal = attrValList.get(i); |
| | | if (attrVal.attrName.toUpperCase().equals(attributeName.toUpperCase())) { |
| | | attrVal.attrVal = attributeValue; |
| | | if (attrVal.name.toUpperCase().equals(attributeName.toUpperCase())) { |
| | | attrVal.value = attributeValue; |
| | | isExist = true; |
| | | break; |
| | | } |
| | |
| | | |
| | | if (!isExist) { |
| | | attrVal = new AttributeValue(); |
| | | attrVal.attrName = attributeName.toUpperCase(); |
| | | attrVal.attrVal = attributeValue; |
| | | attrVal.name = attributeName.toUpperCase(); |
| | | attrVal.value = attributeValue; |
| | | attrValList.add(attrVal); |
| | | } |
| | | |