Class StandardModule
java.lang.Object
net.dzikoysk.cdn.module.standard.StandardModule
- All Implemented Interfaces:
CdnModule
- Direct Known Subclasses:
JsonLikeModule,YamlLikeModule
Default implementation of CDN file format
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderDescription(StringBuilder output, String indentation, String description) panda.std.Result<panda.std.Blank, Exception> renderEntry(StringBuilder output, String indentation, @Nullable Section parent, Entry element) panda.std.Result<panda.std.Blank, Exception> renderPiece(StringBuilder output, String indentation, @Nullable Section parent, Piece element) voidrenderSectionEnding(StringBuilder output, String indentation, @Nullable Section parent, Section section) voidrenderSectionOpening(StringBuilder output, String indentation, Section section) booleanresolveArray(Stack<Section> sections, Piece value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.dzikoysk.cdn.module.CdnModule
convertToCdn, resolveArrayValue, visitArrayValue
-
Constructor Details
-
StandardModule
public StandardModule()
-
-
Method Details
-
renderDescription
- Specified by:
renderDescriptionin interfaceCdnModule
-
renderSectionOpening
- Specified by:
renderSectionOpeningin interfaceCdnModule
-
renderSectionEnding
public void renderSectionEnding(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Section section) - Specified by:
renderSectionEndingin interfaceCdnModule
-
resolveArray
- Specified by:
resolveArrayin interfaceCdnModule
-
renderEntry
public panda.std.Result<panda.std.Blank,Exception> renderEntry(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Entry element) - Specified by:
renderEntryin interfaceCdnModule
-
renderPiece
public panda.std.Result<panda.std.Blank,Exception> renderPiece(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Piece element) - Specified by:
renderPiecein interfaceCdnModule
-