1 9 package org.ozoneDB.core.xml; 10 11 import org.xml.sax.*; 12 13 19 public class ValueElement implements Consts { 20 21 25 28 private String type; 29 30 33 private String id; 34 35 38 private String strValue; 39 40 44 47 ValueElement(Attributes atts) { 48 type = atts.getValue(ATTR_TYPE); 49 id = atts.getValue(ATTR_ID); 50 } 51 52 56 58 public void setStrValue(String strValue) { 59 this.strValue = strValue; 60 } 61 62 64 public String getType() { 65 return type; 66 } 67 68 70 public String getId() { 71 return id; 72 } 73 74 76 public String getStrValue() { 77 return strValue; 78 } 79 80 82 public String toString() { 83 return ("ValueElement: " + type ); 84 } 85 } 86 87 | Popular Tags |