Package org.openrewrite.yaml.tree
Class Yaml.Documents
java.lang.Object
org.openrewrite.yaml.tree.Yaml.Documents
- All Implemented Interfaces:
org.openrewrite.SourceFile,org.openrewrite.Tree,Yaml
- Enclosing interface:
- Yaml
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.yaml.tree.Yaml
Yaml.Alias, Yaml.Anchor, Yaml.Block, Yaml.Document, Yaml.Documents, Yaml.Mapping, Yaml.Scalar, Yaml.Sequence -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> YamlacceptYaml(YamlVisitor<P> v, P p) Prefixes will always be onYaml.Mapping.Entry.<P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) org.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, getMarkers, getSourcePath, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printAllTrimmed, withCharsetBomMarked, withChecksum, withFileAttributes, withMarkers, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printTrimmed, printTrimmed, printTrimmed, safeCast, withExceptionMarker, withIdMethods inherited from interface org.openrewrite.yaml.tree.Yaml
accept, getMarkers, isAcceptable, withMarkers
-
Constructor Details
-
Documents
public Documents()
-
-
Method Details
-
getCharset
- Specified by:
getCharsetin interfaceorg.openrewrite.SourceFile
-
withCharset
- Specified by:
withCharsetin interfaceorg.openrewrite.SourceFile
-
acceptYaml
- Specified by:
acceptYamlin interfaceYaml
-
copyPaste
-
getPrefix
Prefixes will always be onYaml.Mapping.Entry. -
withPrefix
- Specified by:
withPrefixin interfaceYaml
-
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
-