Class AutoFormatVisitor<P>

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

public class AutoFormatVisitor<P> extends org.openrewrite.xml.XmlVisitor<P>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    AutoFormatVisitor(@Nullable org.openrewrite.Tree stopAfter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openrewrite.xml.tree.Xml
    visit(@Nullable org.openrewrite.Tree tree, P p, org.openrewrite.Cursor cursor)
     
    org.openrewrite.xml.tree.Xml.Document
    visitDocument(org.openrewrite.xml.tree.Xml.Document doc, P p)
     

    Methods inherited from class org.openrewrite.xml.XmlVisitor

    autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat, visitAttribute, visitAttributeValue, visitCharData, visitComment, visitDocTypeDecl, visitDocTypeDeclExternalSubsets, visitElement, visitIdent, visitJspDirective, visitProcessingInstruction, visitProlog, visitTag, visitTagClosing, visitXmlDecl

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

    • AutoFormatVisitor

      public AutoFormatVisitor()
    • AutoFormatVisitor

      public AutoFormatVisitor(@Nullable org.openrewrite.Tree stopAfter)
  • Method Details

    • visit

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

      public org.openrewrite.xml.tree.Xml.Document visitDocument(org.openrewrite.xml.tree.Xml.Document doc, P p)
      Overrides:
      visitDocument in class org.openrewrite.xml.XmlVisitor<P>