Package org.openrewrite.xml
Class XmlVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Xml,P>
org.openrewrite.xml.XmlVisitor<P>
- Direct Known Subclasses:
AddOrUpdateChild,AddToTagVisitor,AutodetectGeneralFormatStyle,AutoFormatVisitor,ChangeTagAttributeVisitor,ChangeTagContentVisitor,ChangeTagValueVisitor,CountLinesVisitor,FilterTagChildrenVisitor,MapTagChildrenVisitor,RemoveContentVisitor,XmlIsoVisitor,XmlPrinter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X extends Xml>
XautoFormat(X j, @Nullable Xml stopAfter, P p, org.openrewrite.Cursor cursor) <X extends Xml>
XautoFormat(X j, P p) <X extends Xml>
XautoFormat(X j, P p, org.openrewrite.Cursor cursor) booleanisAcceptable(org.openrewrite.SourceFile sourceFile, P p) <X extends Xml>
XmaybeAutoFormat(X before, X after, @Nullable Xml stopAfter, P p, org.openrewrite.Cursor cursor) <X extends Xml>
XmaybeAutoFormat(X before, X after, P p) <X extends Xml>
XmaybeAutoFormat(X before, X after, P p, org.openrewrite.Cursor cursor) visitAttribute(Xml.Attribute attribute, P p) visitCharData(Xml.CharData charData, P p) visitComment(Xml.Comment comment, P p) visitDocTypeDecl(Xml.DocTypeDecl docTypeDecl, P p) visitDocument(Xml.Document document, P p) visitElement(Xml.Element element, P p) visitIdent(Xml.Ident ident, P p) visitProcessingInstruction(Xml.ProcessingInstruction processingInstruction, P p) visitProlog(Xml.Prolog prolog, P p) visitXmlDecl(Xml.XmlDecl xmlDecl, P p) Methods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, describeLocation, doAfterVisit, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitSourceFile
-
Constructor Details
-
XmlVisitor
public XmlVisitor()
-
-
Method Details
-
isAcceptable
-
getLanguage
-
maybeAutoFormat
-
maybeAutoFormat
-
maybeAutoFormat
-
autoFormat
-
autoFormat
-
autoFormat
-
visitDocument
-
visitXmlDecl
-
visitProcessingInstruction
-
visitTag
-
visitAttribute
-
visitCharData
-
visitComment
-
visitDocTypeDecl
-
visitProlog
-
visitIdent
-
visitElement
-