|Modifier and Type||Method and Description|
This method is invoked when the start tag for an xml element representing a database row is encountered.
This method is invoked when the end tag for an xml element representing a database row is encountered.
body, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
public void begin(String namespace, String name, Attributes attrs)
namespace- the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace
name- the local name if the parser is namespace aware, or just the element name otherwise
attrs- The attribute list of this element
Note that after this rule completes, the row/column information is discarded, ie this rule performs actions as the input is parsed. This contrasts with the more usual way digester is used, which is to build trees of objects for later use. But it's a perfectly valid use of Digester.
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.