/** * Called when parsing character is complete. */ public void addChild(ContainerTransaction parent, Method method, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setMethod(method); }
/** * Called when a child element with simple content is read for DD. */ public void setValue(ContainerTransaction transaction, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("trans-attribute")) { transaction.setTransAttribute(getValue(localName, value)); } }
/** * Called when a child element with simple content is read for DD. */ public void setValue(ContainerTransaction transaction, UnmarshallingContext navigator, String namespaceURI, String localName, String value) { if (localName.equals("trans-attribute")) { transaction.setTransAttribute(getValue(localName, value)); } }
child = new ContainerTransaction();
/** * Called when parsing character is complete. */ public void addChild(ContainerTransaction parent, Method method, UnmarshallingContext navigator, String namespaceURI, String localName) { parent.setMethod(method); }