Class TabsAndIndentsVisitor<P>

java.lang.Object
org.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,P>
org.openrewrite.xml.XmlVisitor<P>
org.openrewrite.xml.XmlIsoVisitor<P>
org.openrewrite.xml.format.TabsAndIndentsVisitor<P>

public class TabsAndIndentsVisitor<P> extends org.openrewrite.xml.XmlIsoVisitor<P>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TabsAndIndentsVisitor(TabsAndIndentsStyle style, @Nullable org.openrewrite.Tree stopAfter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable org.openrewrite.xml.tree.Xml
    postVisit(org.openrewrite.xml.tree.Xml tree, P p)
     
    org.openrewrite.xml.tree.Xml
    preVisit(org.openrewrite.xml.tree.Xml tree, P p)
     
    @Nullable org.openrewrite.xml.tree.Xml
    visit(@Nullable org.openrewrite.Tree tree, P p)
     

    Methods inherited from class org.openrewrite.xml.XmlIsoVisitor

    visitAttribute, visitAttributeValue, visitCharData, visitComment, visitDocTypeDecl, visitDocTypeDeclExternalSubsets, visitDocument, visitElement, visitIdent, visitJspDirective, visitProcessingInstruction, visitProlog, visitTag, 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, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, 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

    • TabsAndIndentsVisitor

      public TabsAndIndentsVisitor(TabsAndIndentsStyle style)
    • TabsAndIndentsVisitor

      public TabsAndIndentsVisitor(TabsAndIndentsStyle style, @Nullable org.openrewrite.Tree stopAfter)
  • Method Details

    • preVisit

      public org.openrewrite.xml.tree.Xml preVisit(org.openrewrite.xml.tree.Xml tree, P p)
      Overrides:
      preVisit in class org.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,P>
    • postVisit

      public @Nullable org.openrewrite.xml.tree.Xml postVisit(org.openrewrite.xml.tree.Xml tree, P p)
      Overrides:
      postVisit in class org.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,P>
    • visit

      public @Nullable org.openrewrite.xml.tree.Xml visit(@Nullable org.openrewrite.Tree tree, P p)
      Overrides:
      visit in class org.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,P>