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