Package org.openrewrite.xml.format
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.openrewrite.xml.tree.Xmlorg.openrewrite.xml.tree.Xml.DocumentvisitDocument(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, visitJspComment, visitJspDeclaration, visitJspDirective, visitJspExpression, visitJspScriptlet, visitProcessingInstruction, visitProlog, visitTag, visitTagClosing, visitXmlDeclMethods 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
-
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:
visitin classorg.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:
visitDocumentin classorg.openrewrite.xml.XmlVisitor<P>
-