/** {@inheritDoc} */ protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException { PolicyType policy = (PolicyType) xmlObject; if (attribute.getLocalName().equals(PolicyType.POLICY_ID_ATTRIB_NAME)) { policy.setPolicyId(attribute.getValue()); } else if (attribute.getLocalName().equals(PolicyType.VERSION_ATTRIB_NAME)) { policy.setVersion(attribute.getValue()); } else if (attribute.getLocalName().equals(PolicyType.RULE_COMBINING_ALG_ID_ATTRIB_NAME)) { policy.setRuleCombiningAlgoId(attribute.getValue()); } else { super.processAttribute(xmlObject, attribute); } }