Class AbstractCamelXmlVisitor

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,P>
org.openrewrite.xml.XmlVisitor<P>
org.openrewrite.xml.XmlIsoVisitor<org.openrewrite.ExecutionContext>
org.apache.camel.updates.AbstractCamelXmlVisitor

public abstract class AbstractCamelXmlVisitor extends org.openrewrite.xml.XmlIsoVisitor<org.openrewrite.ExecutionContext>
Parent of Camel xml visitors, catches any exception, logs it and then continues.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openrewrite.xml.tree.Xml.Tag
    doVisitTag(org.openrewrite.xml.tree.Xml.Tag tag, org.openrewrite.ExecutionContext executionContext)
     
    protected <T extends org.openrewrite.xml.tree.Xml>
    T
    executeVisitWithCatch(Supplier<T> visitMethod, T origValue, org.openrewrite.ExecutionContext context)
     
    final org.openrewrite.xml.tree.Xml.Tag
    visitTag(org.openrewrite.xml.tree.Xml.Tag tag, org.openrewrite.ExecutionContext executionContext)
     

    Methods inherited from class org.openrewrite.xml.XmlIsoVisitor

    visitAttribute, visitAttributeValue, visitCharData, visitComment, visitDocTypeDecl, visitDocTypeDeclExternalSubsets, visitDocument, visitElement, visitIdent, visitJspDirective, visitProcessingInstruction, visitProlog, visitTagClosing, visitXmlDecl

    Methods inherited from class org.openrewrite.xml.XmlVisitor

    autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat

    Methods inherited from class org.openrewrite.TreeVisitor

    adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType

    Methods inherited from class java.lang.Object

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

    • AbstractCamelXmlVisitor

      public AbstractCamelXmlVisitor()
  • Method Details

    • visitTag

      public final org.openrewrite.xml.tree.Xml.Tag visitTag(org.openrewrite.xml.tree.Xml.Tag tag, org.openrewrite.ExecutionContext executionContext)
      Overrides:
      visitTag in class org.openrewrite.xml.XmlIsoVisitor<org.openrewrite.ExecutionContext>
    • doVisitTag

      public org.openrewrite.xml.tree.Xml.Tag doVisitTag(org.openrewrite.xml.tree.Xml.Tag tag, org.openrewrite.ExecutionContext executionContext)
    • executeVisitWithCatch

      protected <T extends org.openrewrite.xml.tree.Xml> T executeVisitWithCatch(Supplier<T> visitMethod, T origValue, org.openrewrite.ExecutionContext context)