Package org.openrewrite.xml.tree
Class Xml.Document
java.lang.Object
org.openrewrite.xml.tree.Xml.Document
- All Implemented Interfaces:
org.openrewrite.SourceFile,org.openrewrite.Tree,Xml
- Enclosing interface:
- Xml
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.xml.tree.Xml
Xml.Attribute, Xml.CharData, Xml.Comment, Xml.DocTypeDecl, Xml.Document, Xml.Element, Xml.Ident, Xml.JspDirective, Xml.ProcessingInstruction, Xml.Prolog, Xml.Tag, Xml.XmlDecl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> XmlacceptXml(XmlVisitor<P> v, P p) <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) <S,T extends S>
Torg.openrewrite.SourceFilewithCharset(Charset charset) withPrefix(String prefix) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.SourceFile
getChecksum, getFileAttributes, getSourcePath, getStyle, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printAllTrimmed, printEqualsInput, withCharsetBomMarked, withChecksum, withFileAttributes, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, safeCast, withId, withMarkersMethods inherited from interface org.openrewrite.xml.tree.Xml
accept, isAcceptable, withPrefixUnsafe
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
withPrefix
- Specified by:
withPrefixin interfaceXml
-
getPrefix
-
getCharset
- Specified by:
getCharsetin interfaceorg.openrewrite.SourceFile
-
withCharset
- Specified by:
withCharsetin interfaceorg.openrewrite.SourceFile
-
withEof
-
acceptXml
-
printer
public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) - Specified by:
printerin interfaceorg.openrewrite.SourceFile- Specified by:
printerin interfaceorg.openrewrite.Tree
-
service
- Specified by:
servicein interfaceorg.openrewrite.SourceFile
-