/** * Called when parsing character is complete. */ public void addChild(Inject parent, Method method, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.addMethod(method); }
/** * Called when a child element with simple content is read for DD. */ public void setValue(Inject inject, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("jndi-name")) { inject.setJndiName(getValue(localName, value)); } }
child = new Inject();
/** * Called when a child element with simple content is read for DD. */ public void setValue(Inject inject, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("jndi-name")) { inject.setJndiName(getValue(localName, value)); } }
child = new Inject();
/** * Called when parsing character is complete. */ public void addChild(Inject parent, Method method, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.addMethod(method); }