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 FormatNode
NodeVerificationCriteria.format
The FormatNode that defines the expected formatprivate FormatNode
NodeVerificationCriteria.NodeVerificationCriteriaBuilder.format
The FormatNode that defines the expected formatFields in com.github.tadukoo.parsing.fileformat with type parameters of type FormatNodeModifier and TypeFieldDescriptionprivate final List<FormatNode>
FileFormatSchema.formatNodes
TheFormatNode
s that define this schemaMethods in com.github.tadukoo.parsing.fileformat that return FormatNodeModifier and TypeMethodDescriptionFormatNode.FormatNodeBuilder.build()
Builds a newFormatNode
with the specified parameters after checking for any errors.private static FormatNode
TadFormatNodeHeader.getFileFormatNode
(com.github.tadukoo.util.logger.EasyLogger logger, FileFormat format) Creates aFormatNode
for the File Format Node.NodeVerificationCriteria.getFormat()
private static FormatNode
TadFormatNodeHeader.getHeadFormatNode
(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNode
for the head Node of the Tad Format Header.private static FormatNode
TadFormatNodeHeader.getSchemaNode
(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNode
for the File Format Schema Node.private static FormatNode
TadFormatNodeHeader.getTadVersionNode
(com.github.tadukoo.util.logger.EasyLogger logger) Creates aFormatNode
for the Tad Format Version Node.private static FormatNode
TadFormatNodeHeader.getVersionNumNode
(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNode
for the File Format Schema Version Number Node.private static FormatNode
TadFormatNodeHeader.getVersionStringNode
(com.github.tadukoo.util.logger.EasyLogger logger, FileFormatSchema schema) Creates aFormatNode
for 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 theFormatNode
s 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 boolean
FileFormatSchemaVerification.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 FormatNodeModifierConstructorDescriptionprivate
NodeVerificationCriteria
(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.