1 28 29 package com.caucho.config; 30 31 import com.caucho.util.L10N; 32 import com.caucho.xml.QElement; 33 34 import org.w3c.dom.Node ; 35 36 39 public class NodeBuilderProgram extends BuilderProgram { 40 static final L10N L = new L10N(NodeBuilderChildProgram.class); 41 42 public static final NodeBuilderProgram NULL 43 = new NodeBuilderProgram(null, new QElement()); 44 45 private final Node _node; 46 47 public NodeBuilderProgram(NodeBuilder builder, Node node) 48 { 49 super(builder); 50 51 _node = node; 52 } 53 54 public void configureImpl(NodeBuilder builder, Object bean) 55 throws ConfigException 56 { 57 builder.configureBean(bean, _node); 58 } 59 } 60 | Popular Tags |