public void parse() throws IOException, SAXException { if (object == null) { throw new SAXException("no object to reflected defined"); } if (contentHandler == null) { throw new SAXException("no content handler defined"); } contentHandler.setDocumentLocator(this); contentHandler.startDocument(); walk(object, (root == null) ? "data" : root, false); contentHandler.endDocument(); }
public void parse() throws IOException, SAXException { if (object == null) { throw new SAXException("no object to reflected defined"); } if (contentHandler == null) { throw new SAXException("no content handler defined"); } contentHandler.setDocumentLocator(this); contentHandler.startDocument(); walk(object, (root == null) ? "data" : root, false); contentHandler.endDocument(); }