Code example for Node

Methods: getNodeValue

0
 *         Date: 13.06.2009 
 */ 
public class StandardMonthsElementHandler extends AbstractElementHandler { 
 
    protected void handleElement(final Node _node, final Object _blank, final ConstructorFactory _factory) throws ElementHandlerException {
        Assert.notNull(_node, "Element is null.");
        Assert.notNull(_blank, "Blank is null.");
        Assert.notNull(_factory, "Factory is null.");
 
        String value = _node.getNodeValue();
        ((DateParserConfiguration) _blank).setMonth(value);
    } 
 
    protected void handleAttribute(final Node _node, final Object _blank, final ConstructorFactory _factory) throws AttributeHandler.AttributeHandlerException {
        // empty 
    } 
 
}