/** A thread-safe unmarshaller for {@link EndPointReference} objects. */
public class EndPointReferenceUnmarshaller extends AbstractXMLObjectUnmarshaller {
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject) {
EndPointReference endPointReference = (EndPointReference) parentSAMLObject;
if (childSAMLObject instanceof Address) {
endPointReference.setAddress((Address) childSAMLObject);
}
}