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

public static class Xml.Document extends Object implements Xml, org.openrewrite.SourceFile
  • Constructor Details

    • Document

      public Document()
  • Method Details

    • withPrefix

      public Xml.Document withPrefix(String prefix)
      Specified by:
      withPrefix in interface Xml
    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface Xml
    • getCharset

      public Charset getCharset()
      Specified by:
      getCharset in interface org.openrewrite.SourceFile
    • withCharset

      public org.openrewrite.SourceFile withCharset(Charset charset)
      Specified by:
      withCharset in interface org.openrewrite.SourceFile
    • withEof

      public Xml.Document withEof(String eof)
    • acceptXml

      public <P> Xml acceptXml(XmlVisitor<P> v, P p)
      Specified by:
      acceptXml in interface Xml
    • printer

      public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor)
      Specified by:
      printer in interface org.openrewrite.SourceFile
      Specified by:
      printer in interface org.openrewrite.Tree