/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlElement, Element domElement) throws MarshallingException { Action action = (Action) samlElement; if (action.getNamespace() != null) { domElement.setAttributeNS(null, Action.NAMESPACE_ATTRIB_NAME, action.getNamespace()); } }