Lines Matching refs:name
98 public void add(String name, String type, String value) { in add() argument
100 attr.Name = name ; in add()
113 public void add(String name, String value) { in add() argument
114 add(name, "CDATA", value) ; in add()
136 String name = ((Attribute) attributes.get(idx)).Name ; in getNameByIndex() local
139 name + "'") ; in getNameByIndex()
140 return name ; in getNameByIndex()
151 public String getTypeByName(String name) { in getTypeByName() argument
152 String type = ((Attribute) attrByName.get(name)).Type ; in getTypeByName()
154 log.println("getTypeByName('" + name + "') called -> '" + in getTypeByName()
166 public String getValueByName(String name) { in getValueByName() argument
167 String value = ((Attribute) attrByName.get(name)).Value ; in getValueByName()
169 log.println("getValueByName('" + name + "') called -> '" + in getValueByName()
214 public void startElement(String name, XAttributeList attr) { in startElement() argument
216 _log.print(align + "<" + name + " ") ; in startElement()
234 public void endElement(String name) { in endElement() argument
237 _log.println(align + "</" + name + ">") ; in endElement()
312 public void startElement(String name, XAttributeList attr) { in startElement() argument
313 super.startElement(name, attr); in startElement()
316 " method has null value for tag <" + name + ">") ; in startElement()
319 tagStack.add(0, name) ; in startElement()
321 public void endElement(String name) { in endElement() argument
322 super.endElement(name); in endElement()
326 printError("No tags to close (bad closing tag </" + name + ">)") ; in endElement()
330 if (!startTag.equals(name)) { in endElement()
332 printError("Bad closing tag: </" + name + in endElement()
412 public void startElement(String name, XAttributeList attrs) { in startElement() argument
413 super.startElement(name, attrs) ; in startElement()
414 if (tags.containsKey(name)) { in startElement()
415 String outerTag = (String) tags.get(name); in startElement()
425 … printError("Required tag <" + name + "> found, but is not enclosed in tag <" + in startElement()
430 tags.remove(name) ; in startElement()
492 private String name = null; field in XMLTools.Tag
500 name = tagName ; in Tag()
512 name = tagName ; in Tag()
527 name = tagName ; in Tag()
543 name = tagName ; in Tag()
562 name = tagName ; in Tag()
575 String ret = "<" + name ; in toString()
613 if (!name.equals(tagName)) return false; in isMatchTo()
642 tagSet.add(tag.name) ; in addTag()
647 tagSet.add(tag.name) ; in addTagEnclosed()
658 public void startElement(String name, XAttributeList attr) { in startElement() argument
660 super.startElement(name, attr); in startElement()
662 if (tagSet.contains(name)) { in startElement()
665 if (tag[0].isMatchTo(name, attr)) { in startElement()
686 tagStack.add(0, name) ; in startElement()
718 public void endElement(String name) { in endElement() argument
720 super.endElement(name); in endElement()