protected void saveAttributeData(String attName, String attData) {
    super.saveAttributeData(attName, attData);

    if (attName.equalsIgnoreCase("name")) {
      name = attData;
    } else if (attName.equalsIgnoreCase("unit")) {
      units = attData;
    } else if (attName.equalsIgnoreCase("unitSymbol")) {
      unitSymbol = attData;
    }
  }
 protected void saveNodeData(String nodeName, String nodeValue) {
   super.saveNodeData(nodeName, nodeValue);
   if (nodeName.equalsIgnoreCase("dimension")) setInnerValues(nodeValue);
 }