/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { AgreementMethod am = (AgreementMethod) xmlObject; if (attribute.getLocalName().equals(AgreementMethod.ALGORITHM_ATTRIBUTE_NAME)) { am.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }
/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { AgreementMethod am = (AgreementMethod) xmlObject; if (attribute.getLocalName().equals(AgreementMethod.ALGORITHM_ATTRIBUTE_NAME)) { am.setAlgorithm(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }