First cut at signing support.
[shibboleth/cpp-xmltooling.git] / xmltooling / impl / UnknownElement.h
index aff3ae5..1afb6e1 100644 (file)
@@ -46,6 +46,9 @@ namespace xmltooling {
     class XMLTOOL_DLLLOCAL UnknownElementImpl : public AbstractDOMCachingXMLObject\r
     {\r
     public:\r
+        UnknownElementImpl(const XMLCh* namespaceURI=NULL, const XMLCh* elementLocalName=NULL, const XMLCh* namespacePrefix=NULL)\r
+            : AbstractDOMCachingXMLObject(namespaceURI, elementLocalName, namespacePrefix) {}\r
+    \r
         /**\r
          * Overridden to ensure XML content of DOM isn't lost.\r
          * \r
@@ -64,9 +67,9 @@ namespace xmltooling {
          */\r
         std::string m_xml;\r
 \r
-    private:\r
         void serialize(std::string& s) const;\r
-        friend class XMLTOOL_API UnknownElementMarshaller;\r
+    private:\r
+        friend class XMLTOOL_DLLLOCAL UnknownElementMarshaller;\r
     };\r
 \r
     /**\r
@@ -90,14 +93,14 @@ namespace xmltooling {
     {\r
     public:\r
         /**\r
-         * @see Marshaller::marshall(XMLObject*,DOMDocument*)\r
+         * @see Marshaller::marshall(XMLObject*,DOMDocument*, const MarshallingContext*)\r
          */\r
-        DOMElement* marshall(XMLObject* xmlObject, DOMDocument* document=NULL) const;\r
+        DOMElement* marshall(XMLObject* xmlObject, DOMDocument* document=NULL, MarshallingContext* ctx=NULL) const;\r
 \r
         /**\r
-         * @see Marshaller::marshall(XMLObject*,DOMElement*)\r
+         * @see Marshaller::marshall(XMLObject*,DOMElement*, const MarshallingContext* ctx)\r
          */\r
-        DOMElement* marshall(XMLObject* xmlObject, DOMElement* parentElement) const;\r
+        DOMElement* marshall(XMLObject* xmlObject, DOMElement* parentElement, MarshallingContext* ctx=NULL) const;\r
         \r
     protected:\r
         void setDocumentElement(DOMDocument* document, DOMElement* element) const {\r
@@ -110,7 +113,7 @@ namespace xmltooling {
     };\r
 \r
     /**\r
-     * Marshaller for UnknownElementImpl objects\r
+     * Unmarshaller for UnknownElementImpl objects\r
      */\r
     class XMLTOOL_DLLLOCAL UnknownElementUnmarshaller : public virtual Unmarshaller\r
     {\r