Uses of Class
com.github.tadukoo.parsing.fileformat.FormatNode
Packages that use FormatNode
Package
Description
Provides classes for making your own custom File Format, similar to YAML syntax
-
Uses of FormatNode in com.github.tadukoo.parsing.fileformat
Fields in com.github.tadukoo.parsing.fileformat declared as FormatNodeModifier and TypeFieldDescriptionprivate final FormatNodeNodeVerificationCriteria.formatThe FormatNode that defines the expected formatprivate FormatNodeNodeVerificationCriteria.NodeVerificationCriteriaBuilder.formatThe FormatNode that defines the expected formatFields in com.github.tadukoo.parsing.fileformat with type parameters of type FormatNodeModifier and TypeFieldDescriptionprivate final List<FormatNode>FileFormatSchema.formatNodesTheFormatNodes that define this schemaMethods in com.github.tadukoo.parsing.fileformat that return FormatNodeModifier and TypeMethodDescriptionFormatNode.FormatNodeBuilder.build()Builds a newFormatNodewith the specified parameters after checking for any errors.private static FormatNodeTadFormatNodeHeader.getFileFormatNode(com.github.tadukoo.util.logger.EasyLogger logger, FileFormat format) Creates aFormatNodefor the File Format Node.NodeVerificationCriteria.getFormat()private static FormatNodeTadFormatNodeHeader.getHeadFormatNode(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNodefor the head Node of the Tad Format Header.private static FormatNodeTadFormatNodeHeader.getSchemaNode(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNodefor the File Format Schema Node.private static FormatNodeTadFormatNodeHeader.getTadVersionNode(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNodefor the Tad Format Version Node.private static FormatNodeTadFormatNodeHeader.getVersionNumNode(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNodefor the File Format Schema Version Number Node.private static FormatNodeTadFormatNodeHeader.getVersionStringNode(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNodefor the File Format Schema Version Node.Methods in com.github.tadukoo.parsing.fileformat that return types with arguments of type FormatNodeModifier and TypeMethodDescriptionFileFormatSchema.getFormatNodes()private static Map<String,FormatNode> FileFormatSchemaVerification.getFormatNodesMap(FileFormatSchema schema) Creates a Map out of theFormatNodes present in the givenFileFormatSchema.Methods in com.github.tadukoo.parsing.fileformat with parameters of type FormatNodeModifier and TypeMethodDescriptionNodeVerificationCriteria.NodeVerificationCriteriaBuilder.format(FormatNode format) Sets the FormatNode, that defines the expected formatMethod parameters in com.github.tadukoo.parsing.fileformat with type arguments of type FormatNodeModifier and TypeMethodDescriptionprivate static booleanFileFormatSchemaVerification.verifyNode(com.github.tadukoo.util.logger.EasyLogger logger, Map<String, FormatNode> formatNodes, Node node, List<String> nodeNames, String filepath) Checks if the given Node (and any children and siblings down the line) matches the proper formatting passed in or not.Constructors in com.github.tadukoo.parsing.fileformat with parameters of type FormatNodeModifierConstructorDescriptionprivateNodeVerificationCriteria(com.github.tadukoo.util.logger.EasyLogger logger, String filepath, Node node, FormatNode format, boolean nullParent, boolean nullChild, boolean nullPrevSibling, boolean nullNextSibling, Node parent, Node child, Node prevSibling, Node nextSibling) Creates a new NodeVerificationCriteria object with the given parametersConstructor parameters in com.github.tadukoo.parsing.fileformat with type arguments of type FormatNodeModifierConstructorDescriptionFileFormatSchema(String versionString, int versionNum, String fileExtension, List<FormatNode> formatNodes) Constructs a FileFormatSchema with the given information.