Package org.assertstruct.template
Interface StructTemplateNode
- All Superinterfaces:
MatchResult,TemplateNode
- All Known Implementing Classes:
ArrayNode,ObjectNode
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault booleanisScalar()default voidprint(StringBuilder out, boolean forceComa, boolean forceEOL, int indent, boolean fromNewLine) voidsealConfigs(SubtreeOptions parentConfig) Methods inherited from interface org.assertstruct.result.MatchResult
isConfigMethods inherited from interface org.assertstruct.template.TemplateNode
addSharedValidator, asArray, asDict, getEndToken, getKey, getMatchedTo, getToken, getValidators, hasDifference, isStruct, printDebug, printEnd, printStart
-
Method Details
-
getStartToken
ExtToken getStartToken()- Specified by:
getStartTokenin interfaceTemplateNode
-
isScalar
default boolean isScalar()- Specified by:
isScalarin interfaceTemplateNode
-
getConfig
NodeOptions getConfig() -
print
default void print(StringBuilder out, boolean forceComa, boolean forceEOL, int indent, boolean fromNewLine) - Specified by:
printin interfaceTemplateNode
-
sealConfigs
-
getByKey
-
isDataNode
default boolean isDataNode()- Specified by:
isDataNodein interfaceTemplateNode
-