*/
public class SignatureConfirmationUnmarshaller extends AbstractWSSecurityObjectUnmarshaller {
/** {@inheritDoc} */
protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
SignatureConfirmation sc = (SignatureConfirmation) xmlObject;
QName attrName =
XMLHelper.constructQName(attribute.getNamespaceURI(), attribute.getLocalName(), attribute.getPrefix());
if (SignatureConfirmation.WSU_ID_ATTR_NAME.equals(attrName)) {
sc.setWSUId(attribute.getValue());
attribute.getOwnerElement().setIdAttributeNode(attribute, true);
} else if (SignatureConfirmation.VALUE_ATTRIB_NAME.equals(attribute.getLocalName())) {
sc.setValue(attribute.getValue());
} else {
super.processAttribute(xmlObject, attribute);
}
}