27282930313233
super(rootElementName, rowElementName) ; } public Object handle(ResultSet resultSet) throws SQLException { StringBuffer buffer = (StringBuffer)super.handle(resultSet) ; return new XmlDocument(buffer); }
9192939495969798
buffer.append("<dName>" + dName + "</dName>\n") ; for (int i = 0; i < child.size(); i++) { buffer.append(((XmlSerializable)child.get(i)).toXml().getXmlString()) ; } buffer.append("</dept>\n") ; return new XmlDocument(buffer); }
58596061626364
buffer.append("<emp>\n") ; buffer.append("\t<empNo>" + empNo + "</empNo>\n") ; buffer.append("\t<eName>" + eName + "</eName>\n") ; buffer.append("</emp>\n") ; return new XmlDocument(buffer); }