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

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

    Constructors
    Constructor
    Description
     
    LineBreaksVisitor(@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)
     
    org.openrewrite.xml.tree.Xml.Comment
    visitComment(org.openrewrite.xml.tree.Xml.Comment comment, P p)
     
    org.openrewrite.xml.tree.Xml.DocTypeDecl
    visitDocTypeDecl(org.openrewrite.xml.tree.Xml.DocTypeDecl docTypeDecl, P p)
     
    org.openrewrite.xml.tree.Xml.ProcessingInstruction
    visitProcessingInstruction(org.openrewrite.xml.tree.Xml.ProcessingInstruction processingInstruction, P p)
     
    org.openrewrite.xml.tree.Xml.Prolog
    visitProlog(org.openrewrite.xml.tree.Xml.Prolog prolog, P p)
     
    org.openrewrite.xml.tree.Xml.Tag
    visitTag(org.openrewrite.xml.tree.Xml.Tag tag, P p)
     

    Methods inherited from class org.openrewrite.xml.XmlIsoVisitor

    visitAttribute, visitAttributeValue, visitCharData, visitDocTypeDeclExternalSubsets, visitDocument, visitElement, visitIdent, visitJspDirective, 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, 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

    • LineBreaksVisitor

      public LineBreaksVisitor()
    • LineBreaksVisitor

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

    • visitComment

      public org.openrewrite.xml.tree.Xml.Comment visitComment(org.openrewrite.xml.tree.Xml.Comment comment, P p)
      Overrides:
      visitComment in class org.openrewrite.xml.XmlIsoVisitor<P>
    • visitDocTypeDecl

      public org.openrewrite.xml.tree.Xml.DocTypeDecl visitDocTypeDecl(org.openrewrite.xml.tree.Xml.DocTypeDecl docTypeDecl, P p)
      Overrides:
      visitDocTypeDecl in class org.openrewrite.xml.XmlIsoVisitor<P>
    • visitProcessingInstruction

      public org.openrewrite.xml.tree.Xml.ProcessingInstruction visitProcessingInstruction(org.openrewrite.xml.tree.Xml.ProcessingInstruction processingInstruction, P p)
      Overrides:
      visitProcessingInstruction in class org.openrewrite.xml.XmlIsoVisitor<P>
    • visitProlog

      public org.openrewrite.xml.tree.Xml.Prolog visitProlog(org.openrewrite.xml.tree.Xml.Prolog prolog, P p)
      Overrides:
      visitProlog in class org.openrewrite.xml.XmlIsoVisitor<P>
    • visitTag

      public org.openrewrite.xml.tree.Xml.Tag visitTag(org.openrewrite.xml.tree.Xml.Tag tag, P p)
      Overrides:
      visitTag in class org.openrewrite.xml.XmlIsoVisitor<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>