Package org.openrewrite.xml.format
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
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.openrewrite.xml.tree.Xml
@Nullable org.openrewrite.xml.tree.Xml
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
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
-
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 classorg.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 classorg.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 classorg.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 classorg.openrewrite.xml.XmlIsoVisitor<P>
-
visitTag
- Overrides:
visitTag
in classorg.openrewrite.xml.XmlIsoVisitor<P>
-
postVisit
- Overrides:
postVisit
in classorg.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,
P>
-
visit
- Overrides:
visit
in classorg.openrewrite.TreeVisitor<org.openrewrite.xml.tree.Xml,
P>
-