Add property for protocol family to encoders/decoders.
[shibboleth/cpp-opensaml.git] / saml / saml2 / binding / SAML2MessageDecoder.h
index a81cfcb..2790ab3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2007 Internet2
+ *  Copyright 2001-2010 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -26,7 +26,6 @@
 #include <saml/binding/MessageDecoder.h>
 
 namespace opensaml {
-
     namespace saml2p {
         
         /**
@@ -35,10 +34,11 @@ namespace opensaml {
         class SAML_API SAML2MessageDecoder : public MessageDecoder
         {
         protected:
-            SAML2MessageDecoder() {}
-            virtual ~SAML2MessageDecoder() {}
+            SAML2MessageDecoder();
+            virtual ~SAML2MessageDecoder();
 
         public:
+            const XMLCh* getProtocolFamily() const;
             void extractMessageDetails (
                 const xmltooling::XMLObject& message,
                 const xmltooling::GenericRequest& genericRequest,