Add property for protocol family to encoders/decoders.
[shibboleth/cpp-opensaml.git] / saml / binding / impl / MessageEncoder.cpp
index 88f41da..035ad55 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2009 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.
@@ -63,6 +63,19 @@ void SAML_API opensaml::registerMessageEncoders()
     conf.MessageEncoderManager.registerFactory(samlconstants::SAML20_BINDING_PAOS, saml2p::SAML2ECPEncoderFactory);
 }
 
+MessageEncoder::MessageEncoder()
+{
+}
+
+MessageEncoder::~MessageEncoder()
+{
+}
+
+const XMLCh* MessageEncoder::getProtocolFamily() const
+{
+    return nullptr;
+}
+
 bool MessageEncoder::isCompact() const
 {
     return false;
@@ -72,3 +85,11 @@ bool MessageEncoder::isUserAgentPresent() const
 {
     return true;
 }
+
+MessageEncoder::ArtifactGenerator::ArtifactGenerator()
+{
+}
+
+MessageEncoder::ArtifactGenerator::~ArtifactGenerator()
+{
+}