Interface ModelToXMLDumper


public interface ModelToXMLDumper
SPI for dumping model definitions into XML representation.
  • Field Details

  • Method Details

    • dumpModelAsXml

      String dumpModelAsXml(CamelContext context, NamedNode definition) throws Exception
      Dumps the definition as XML
      Parameters:
      context - the CamelContext
      definition - the definition, such as a NamedNode
      Returns:
      the output in XML (is formatted)
      Throws:
      Exception - is throw if error marshalling to XML
    • dumpModelAsXml

      String dumpModelAsXml(CamelContext context, NamedNode definition, boolean resolvePlaceholders) throws Exception
      Dumps the definition as XML
      Parameters:
      context - the CamelContext
      definition - the definition, such as a NamedNode
      resolvePlaceholders - whether to resolve property placeholders in the dumped XML
      Returns:
      the output in XML (is formatted)
      Throws:
      Exception - is throw if error marshalling to XML