Class NormalizeTabsOrSpacesVisitor<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.NormalizeTabsOrSpacesVisitor<P>

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

    Constructors
    Constructor
    Description
     
    NormalizeTabsOrSpacesVisitor(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)
     
    @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, visitJspComment, visitJspDeclaration, visitJspExpression, visitJspScriptlet

    Methods inherited from class org.openrewrite.TreeVisitor

    adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, preVisit, 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

    • NormalizeTabsOrSpacesVisitor

      public NormalizeTabsOrSpacesVisitor(TabsAndIndentsStyle style)
    • NormalizeTabsOrSpacesVisitor

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

    • 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>
    • 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>