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 * XKMSRespondWith:= Interface for RespondWith elements 00021 * 00022 * $Id: XKMSRespondWith.hpp,v 1.4 2005/06/04 11:30:26 blautenb Exp $ 00023 * 00024 */ 00025 00026 #ifndef XKMSRESPONDWITH_INCLUDE 00027 #define XKMSRESPONDWITH_INCLUDE 00028 00029 // XSEC Includes 00030 00031 #include <xsec/framework/XSECDefs.hpp> 00032 #include <xsec/xkms/XKMSMessageAbstractType.hpp> 00033 00055 class XKMSRespondWith { 00056 00059 00060 protected: 00061 00062 XKMSRespondWith() {}; 00063 00064 public: 00065 00066 virtual ~XKMSRespondWith() {}; 00067 00070 00071 /* 00072 * \brief Obtain the element at the head of this structure 00073 * 00074 * @returns the owning Element for this structure 00075 */ 00076 00077 virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * getElement(void) const = 0; 00078 00089 virtual const XMLCh * getRespondWithString(void) const = 0; 00090 00092 00095 00106 virtual void setRespondWithString(const XMLCh * str) = 0; 00107 00109 00110 00111 private: 00112 00113 // Unimplemented 00114 XKMSRespondWith(const XKMSRespondWith &); 00115 XKMSRespondWith & operator = (const XKMSRespondWith &); 00116 00117 }; 00118 00119 #endif /* XKMSRESPONDWITH_INCLUDE */