00001 /* 00002 * Copyright 2004-2005 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00017 /* 00018 * XSEC 00019 * 00020 * XKMSResponseMechanism:= Interface for ResponseMechanism elements 00021 * 00022 * $Id: XKMSResponseMechanism.hpp,v 1.3 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSRESPONSEMECHANISM_INCLUDE 00027 #define XKMSRESPONSEMECHANISM_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 #include <xsec/xkms/XKMSMessageAbstractType.hpp> 00033 00054 class XKMSResponseMechanism { 00055 00058 00059 protected: 00060 00061 XKMSResponseMechanism() {}; 00062 00063 public: 00064 00065 virtual ~XKMSResponseMechanism() {}; 00066 00069 00070 /* 00071 * \brief Obtain the element at the head of this structure 00072 * 00073 * @returns the owning Element for this structure 00074 */ 00075 00076 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00077 00088 virtual const XMLCh * getResponseMechanismString(void) const = 0; 00089 00091 00094 00105 virtual void setResponseMechanismString(const XMLCh * str) = 0; 00106 00108 00109 00110 private: 00111 00112 // Unimplemented 00113 XKMSResponseMechanism(const XKMSResponseMechanism &); 00114 XKMSResponseMechanism & operator = (const XKMSResponseMechanism &); 00115 00116 }; 00117 00118 #endif /* XKMSRESPONSEMECHANISM_INCLUDE */