super(targetNamespaceURI, targetLocalName);
}
/** {@inheritDoc} */
protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
Endpoint endpoint = (Endpoint) samlObject;
if (attribute.getLocalName().equals(Endpoint.BINDING_ATTRIB_NAME)) {
endpoint.setBinding(attribute.getValue());
} else if (attribute.getLocalName().equals(Endpoint.LOCATION_ATTRIB_NAME)) {
endpoint.setLocation(attribute.getValue());
} else if (attribute.getLocalName().equals(Endpoint.RESPONSE_LOCATION_ATTRIB_NAME)) {
endpoint.setResponseLocation(attribute.getValue());
} else {
QName attribQName = XMLHelper.getNodeQName(attribute);
if (attribute.isId()) {
endpoint.getUnknownAttributes().registerID(attribQName);
}
endpoint.getUnknownAttributes().put(attribQName, attribute.getValue());
}
}