Class JsonLikeModule
java.lang.Object
net.dzikoysk.cdn.module.standard.StandardModule
net.dzikoysk.cdn.module.json.JsonLikeModule
- All Implemented Interfaces:
CdnModule
Implementation of JSON file format based on default implementation of CDN format.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToCdn(String source) voidrenderDescription(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) Element<?> visitArrayValue(Element<?> element) Methods inherited from class net.dzikoysk.cdn.module.standard.StandardModule
resolveArrayMethods 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
resolveArrayValue
-
Constructor Details
-
JsonLikeModule
public JsonLikeModule()
-
-
Method Details
-
convertToCdn
-
visitArrayValue
-
renderDescription
- Specified by:
renderDescriptionin interfaceCdnModule- Overrides:
renderDescriptionin classStandardModule
-
renderSectionOpening
- Specified by:
renderSectionOpeningin interfaceCdnModule- Overrides:
renderSectionOpeningin classStandardModule
-
renderSectionEnding
public void renderSectionEnding(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Section section) - Specified by:
renderSectionEndingin interfaceCdnModule- Overrides:
renderSectionEndingin classStandardModule
-
renderEntry
public panda.std.Result<panda.std.Blank,Exception> renderEntry(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Entry element) - Specified by:
renderEntryin interfaceCdnModule- Overrides:
renderEntryin classStandardModule
-
renderPiece
public panda.std.Result<panda.std.Blank,Exception> renderPiece(StringBuilder output, String indentation, @Nullable @Nullable Section parent, Piece element) - Specified by:
renderPiecein interfaceCdnModule- Overrides:
renderPiecein classStandardModule
-