Package org.apache.camel.updates
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.xml.tree.Xml.TagdoVisitTag(org.openrewrite.xml.tree.Xml.Tag tag, org.openrewrite.ExecutionContext executionContext) protected <T extends org.openrewrite.xml.tree.Xml>
TexecuteVisitWithCatch(Supplier<T> visitMethod, T origValue, org.openrewrite.ExecutionContext context) final org.openrewrite.xml.tree.Xml.TagvisitTag(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, visitXmlDeclMethods inherited from class org.openrewrite.xml.XmlVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormatMethods 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
-
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:
visitTagin classorg.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)
-