Class JaxbModelToXMLDumper

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

@JdkService("modelxml-dumper") public class JaxbModelToXMLDumper extends Object implements org.apache.camel.spi.ModelToXMLDumper
JAXB based ModelToXMLDumper.
  • Constructor Details

    • JaxbModelToXMLDumper

      public JaxbModelToXMLDumper()
  • 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
    • doDumpModelAsXml

      public String doDumpModelAsXml(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition, boolean generatedIds) throws Exception
      Throws:
      Exception
    • dumpModelAsXml

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

      public String dumpBeansAsXml(org.apache.camel.CamelContext context, List<Object> beans) throws Exception
      Specified by:
      dumpBeansAsXml in interface org.apache.camel.spi.ModelToXMLDumper
      Throws:
      Exception