Class LwModelToXMLDumper

java.lang.Object
org.apache.camel.xml.LwModelToXMLDumper
All Implemented Interfaces:
org.apache.camel.spi.ModelToXMLDumper

@JdkService("modelxml-dumper") public class LwModelToXMLDumper extends Object implements org.apache.camel.spi.ModelToXMLDumper
Lightweight ModelToXMLDumper based on the generated ModelWriter.
  • Field Summary

    Fields inherited from interface org.apache.camel.spi.ModelToXMLDumper

    FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dumpModelAsXml(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition)
     
    dumpModelAsXml(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition, boolean resolvePlaceholders, boolean resolveDelegateEndpoints)
     

    Methods inherited from class java.lang.Object

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

    • LwModelToXMLDumper

      public LwModelToXMLDumper()
  • Method Details

    • dumpModelAsXml

      public String dumpModelAsXml(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition) throws Exception
      Specified by:
      dumpModelAsXml in interface org.apache.camel.spi.ModelToXMLDumper
      Throws:
      Exception
    • dumpModelAsXml

      public String dumpModelAsXml(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition, boolean resolvePlaceholders, boolean resolveDelegateEndpoints) throws Exception
      Specified by:
      dumpModelAsXml in interface org.apache.camel.spi.ModelToXMLDumper
      Throws:
      Exception