Package org.openrewrite.xml.format
Class RemoveTrailingWhitespaceVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Xml,P>
org.openrewrite.xml.XmlVisitor<P>
org.openrewrite.xml.XmlIsoVisitor<P>
org.openrewrite.xml.format.RemoveTrailingWhitespaceVisitor<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Xml@Nullable XmlvisitDocument(Xml.Document doc, P p) Methods inherited from class org.openrewrite.xml.XmlIsoVisitor
visitAttribute, visitCharData, visitComment, visitDocTypeDecl, visitElement, visitIdent, visitProcessingInstruction, visitProlog, visitTag, visitXmlDeclMethods inherited from class org.openrewrite.xml.XmlVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormatMethods 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
-
RemoveTrailingWhitespaceVisitor
public RemoveTrailingWhitespaceVisitor() -
RemoveTrailingWhitespaceVisitor
public RemoveTrailingWhitespaceVisitor(@Nullable @Nullable org.openrewrite.Tree stopAfter)
-
-
Method Details
-
visitDocument
- Overrides:
visitDocumentin classXmlIsoVisitor<P>
-
visit
-
postVisit
-