Class ToXmlDocumentConverter<T>

  • All Implemented Interfaces:
    org.ikasan.spec.component.transformation.Converter<T,​org.w3c.dom.Document>

    public class ToXmlDocumentConverter<T>
    extends java.lang.Object
    implements org.ikasan.spec.component.transformation.Converter<T,​org.w3c.dom.Document>
    Convert incoming event to an XML Document. Ikasan Development Team.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Document convert​(T message)  
      void setDocumentBuilderFactory​(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
      Allow override of default document builder factory
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ToXmlDocumentConverter

        public ToXmlDocumentConverter()
    • Method Detail

      • setDocumentBuilderFactory

        public void setDocumentBuilderFactory​(javax.xml.parsers.DocumentBuilderFactory documentBuilderFactory)
        Allow override of default document builder factory
        Parameters:
        documentBuilderFactory -
      • convert

        public org.w3c.dom.Document convert​(T message)
                                     throws org.ikasan.spec.component.transformation.TransformationException
        Specified by:
        convert in interface org.ikasan.spec.component.transformation.Converter<T,​org.w3c.dom.Document>
        Throws:
        org.ikasan.spec.component.transformation.TransformationException