Uses of Class
org.snakeyaml.engine.v2.nodes.Tag
Packages that use Tag
Package
Description
-
Uses of Tag in org.snakeyaml.engine.v2.api
Fields in org.snakeyaml.engine.v2.api with type parameters of type TagModifier and TypeFieldDescriptionDumpSettings.explicitRootTag
DumpSettingsBuilder.explicitRootTag
private final Map
<Tag, ConstructNode> LoadSettings.tagConstructors
private Map
<Tag, ConstructNode> LoadSettingsBuilder.tagConstructors
Methods in org.snakeyaml.engine.v2.api that return types with arguments of type TagModifier and TypeMethodDescriptionDumpSettings.getExplicitRootTag()
LoadSettings.getTagConstructors()
Method parameters in org.snakeyaml.engine.v2.api with type arguments of type TagModifier and TypeMethodDescriptionDumpSettingsBuilder.setExplicitRootTag
(Optional<Tag> explicitRootTag) Define rootTag
or let the tag to be detected automaticallyLoadSettingsBuilder.setTagConstructors
(Map<Tag, ConstructNode> tagConstructors) Provide constructors for the specified tags.Constructor parameters in org.snakeyaml.engine.v2.api with type arguments of type TagModifierConstructorDescription(package private)
DumpSettings
(boolean explicitStart, boolean explicitEnd, Optional<Tag> explicitRootTag, AnchorGenerator anchorGenerator, Optional<SpecVersion> yamlDirective, Map<String, String> tagDirective, FlowStyle defaultFlowStyle, ScalarStyle defaultScalarStyle, NonPrintableStyle nonPrintableStyle, Schema schema, boolean canonical, boolean multiLineFlow, boolean useUnicodeEncoding, int indent, int indicatorIndent, int width, String bestLineBreak, boolean splitLines, int maxSimpleKeyLength, Map<SettingKey, Object> customProperties, boolean indentWithIndicator, boolean dumpComments) (package private)
LoadSettings
(String label, Map<Tag, ConstructNode> tagConstructors, IntFunction<List<Object>> defaultList, IntFunction<Set<Object>> defaultSet, IntFunction<Map<Object, Object>> defaultMap, UnaryOperator<SpecVersion> versionFunction, Integer bufferSize, boolean allowDuplicateKeys, boolean allowRecursiveKeys, int maxAliasesForCollections, boolean useMarks, Map<SettingKey, Object> customProperties, Optional<EnvConfig> envConfig, boolean parseComments, int codePointLimit, Schema schema) -
Uses of Tag in org.snakeyaml.engine.v2.constructor
Fields in org.snakeyaml.engine.v2.constructor with type parameters of type TagModifier and TypeFieldDescriptionprotected final Map
<Tag, ConstructNode> BaseConstructor.tagConstructors
It maps the (explicit or implicit) tag to the Construct implementation. -
Uses of Tag in org.snakeyaml.engine.v2.nodes
Fields in org.snakeyaml.engine.v2.nodes declared as TagModifier and TypeFieldDescriptionstatic final Tag
Tag.BINARY
static final Tag
Tag.BOOL
static final Tag
Tag.COMMENT
static final Tag
Tag.ENV_TAG
static final Tag
Tag.FLOAT
static final Tag
Tag.INT
static final Tag
Tag.MAP
static final Tag
Tag.NULL
static final Tag
Tag.SEQ
static final Tag
Tag.SET
static final Tag
Tag.STR
private Tag
Node.tag
Methods in org.snakeyaml.engine.v2.nodes that return TagMethods in org.snakeyaml.engine.v2.nodes with parameters of type TagConstructors in org.snakeyaml.engine.v2.nodes with parameters of type TagModifierConstructorDescriptionMappingNode
(Tag tag, boolean resolved, List<NodeTuple> value, FlowStyle flowStyle, Optional<Mark> startMark, Optional<Mark> endMark) CreateMappingNode
(Tag tag, List<NodeTuple> value, FlowStyle flowStyle) CreateCreate Node to be parsedScalarNode
(Tag tag, boolean resolved, String value, ScalarStyle style, Optional<Mark> startMark, Optional<Mark> endMark) ScalarNode
(Tag tag, String value, ScalarStyle style) SequenceNode
(Tag tag, boolean resolved, List<Node> value, FlowStyle flowStyle, Optional<Mark> startMark, Optional<Mark> endMark) SequenceNode
(Tag tag, List<Node> value, FlowStyle flowStyle) -
Uses of Tag in org.snakeyaml.engine.v2.representer
Fields in org.snakeyaml.engine.v2.representer with type parameters of type TagMethods in org.snakeyaml.engine.v2.representer that return TagModifier and TypeMethodDescriptionStandardRepresenter.addClassTag
(Class<? extends Object> clazz, Tag tag) Deprecated.should be replaced with the Beans projectprotected Tag
Define the way to get the Tag for any classMethods in org.snakeyaml.engine.v2.representer with parameters of type TagModifier and TypeMethodDescriptionStandardRepresenter.addClassTag
(Class<? extends Object> clazz, Tag tag) Deprecated.should be replaced with the Beans projectprotected Tag
Define the way to get the Tag for any classprotected Node
BaseRepresenter.representMapping
(Tag tag, Map<?, ?> mapping, FlowStyle flowStyle) Create Node for the provided Mapprotected Node
BaseRepresenter.representScalar
(Tag tag, String value) Create Node for string using PLAIN scalar style if possibleprotected Node
BaseRepresenter.representScalar
(Tag tag, String value, ScalarStyle style) Create Scalar Node from stringprotected Node
BaseRepresenter.representSequence
(Tag tag, Iterable<?> sequence, FlowStyle flowStyle) Create Node -
Uses of Tag in org.snakeyaml.engine.v2.resolver
Fields in org.snakeyaml.engine.v2.resolver declared as TagMethods in org.snakeyaml.engine.v2.resolver that return TagModifier and TypeMethodDescriptionResolverTuple.getTag()
Resolve (detect) the tag of the scalar node of the given type.Methods in org.snakeyaml.engine.v2.resolver with parameters of type TagModifier and TypeMethodDescriptionvoid
BaseScalarResolver.addImplicitResolver
(Tag tag, Pattern regexp, String first) Add a resolver to resolve a value that matches the provided regular expression to the provided tagConstructors in org.snakeyaml.engine.v2.resolver with parameters of type Tag -
Uses of Tag in org.snakeyaml.engine.v2.schema
Fields in org.snakeyaml.engine.v2.schema with type parameters of type TagModifier and TypeFieldDescriptionprivate final Map
<Tag, ConstructNode> CoreSchema.tagConstructors
private final Map
<Tag, ConstructNode> JsonSchema.tagConstructors
Methods in org.snakeyaml.engine.v2.schema that return types with arguments of type TagModifier and TypeMethodDescriptionCoreSchema.getSchemaTagConstructors()
Provide constructs to support the schema (bool, int, float)FailsafeSchema.getSchemaTagConstructors()
No constructs providedJsonSchema.getSchemaTagConstructors()
Basic constructsSchema.getSchemaTagConstructors()
Provide the way to construct the resolved tag.