for (int s = 0; s < nodeList.getLength(); s++) {
Node fstNode = nodeList.item(s);
if (fstNode.getNodeType() == Node.ELEMENT_NODE) {
Element fstElmnt = (Element) fstNode;
NodeList fields = fstElmnt.getElementsByTagName("field");
Post p = new Post();
p.setForum(getValue(fields, 0));
p.setDate(sf.parse(getValue(fields, 1)));
p.setSubject(getValue(fields, 2));
p.setUsername(getValue(fields, 4));
posts.add(p);
BeanPost beanPost = new BeanPost();
beanPost.setForum(getValue(fields, 0));
beanPost.setDate(sf.parse(getValue(fields, 1)));