Uses of Class
org.snakeyaml.engine.v2.nodes.Tag
-
-
Uses of Tag in org.snakeyaml.engine.v2.api
Fields in org.snakeyaml.engine.v2.api with type parameters of type Tag Modifier and Type Field Description private java.util.Optional<Tag>
DumpSettings. explicitRootTag
private java.util.Optional<Tag>
DumpSettingsBuilder. explicitRootTag
private java.util.Map<Tag,ConstructNode>
LoadSettings. tagConstructors
private java.util.Map<Tag,ConstructNode>
LoadSettingsBuilder. tagConstructors
Methods in org.snakeyaml.engine.v2.api that return types with arguments of type Tag Modifier and Type Method Description java.util.Optional<Tag>
DumpSettings. getExplicitRootTag()
java.util.Map<Tag,ConstructNode>
LoadSettings. getTagConstructors()
Method parameters in org.snakeyaml.engine.v2.api with type arguments of type Tag Modifier and Type Method Description DumpSettingsBuilder
DumpSettingsBuilder. setExplicitRootTag(java.util.Optional<Tag> explicitRootTag)
Define rootTag
or let the tag to be detected automaticallyLoadSettingsBuilder
LoadSettingsBuilder. setTagConstructors(java.util.Map<Tag,ConstructNode> tagConstructors)
Provide constructors for the specified tags.Constructor parameters in org.snakeyaml.engine.v2.api with type arguments of type Tag Constructor Description DumpSettings(boolean explicitStart, boolean explicitEnd, java.util.Optional<Tag> explicitRootTag, AnchorGenerator anchorGenerator, java.util.Optional<SpecVersion> yamlDirective, java.util.Map<java.lang.String,java.lang.String> tagDirective, FlowStyle defaultFlowStyle, ScalarStyle defaultScalarStyle, NonPrintableStyle nonPrintableStyle, Schema schema, boolean canonical, boolean multiLineFlow, boolean useUnicodeEncoding, int indent, int indicatorIndent, int width, java.lang.String bestLineBreak, boolean splitLines, int maxSimpleKeyLength, java.util.Map<SettingKey,java.lang.Object> customProperties, boolean indentWithIndicator, boolean dumpComments)
LoadSettings(java.lang.String label, java.util.Map<Tag,ConstructNode> tagConstructors, java.util.function.IntFunction<java.util.List<java.lang.Object>> defaultList, java.util.function.IntFunction<java.util.Set<java.lang.Object>> defaultSet, java.util.function.IntFunction<java.util.Map<java.lang.Object,java.lang.Object>> defaultMap, java.util.function.UnaryOperator<SpecVersion> versionFunction, java.lang.Integer bufferSize, boolean allowDuplicateKeys, boolean allowRecursiveKeys, int maxAliasesForCollections, boolean useMarks, java.util.Map<SettingKey,java.lang.Object> customProperties, java.util.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 Tag Modifier and Type Field Description protected java.util.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 Tag Modifier and Type Field Description static Tag
Tag. BINARY
static Tag
Tag. BOOL
static Tag
Tag. COMMENT
static Tag
Tag. ENV_TAG
static Tag
Tag. FLOAT
static Tag
Tag. INT
static Tag
Tag. MAP
static Tag
Tag. NULL
static Tag
Tag. SEQ
static Tag
Tag. SET
static Tag
Tag. STR
private Tag
Node. tag
Methods in org.snakeyaml.engine.v2.nodes that return Tag Modifier and Type Method Description Tag
Node. getTag()
Tag of this node.Methods in org.snakeyaml.engine.v2.nodes with parameters of type Tag Modifier and Type Method Description void
Node. setTag(Tag tag)
Constructors in org.snakeyaml.engine.v2.nodes with parameters of type Tag Constructor Description CollectionNode(Tag tag, FlowStyle flowStyle, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
MappingNode(Tag tag, boolean resolved, java.util.List<NodeTuple> value, FlowStyle flowStyle, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
CreateMappingNode(Tag tag, java.util.List<NodeTuple> value, FlowStyle flowStyle)
CreateNode(Tag tag, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
Create Node to be parsedScalarNode(Tag tag, boolean resolved, java.lang.String value, ScalarStyle style, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
ScalarNode(Tag tag, java.lang.String value, ScalarStyle style)
SequenceNode(Tag tag, boolean resolved, java.util.List<Node> value, FlowStyle flowStyle, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
SequenceNode(Tag tag, java.util.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 Tag Modifier and Type Field Description protected java.util.Map<java.lang.Class<? extends java.lang.Object>,Tag>
StandardRepresenter. classTags
Connect classes to their tagsMethods in org.snakeyaml.engine.v2.representer that return Tag Modifier and Type Method Description Tag
StandardRepresenter. addClassTag(java.lang.Class<? extends java.lang.Object> clazz, Tag tag)
Deprecated.should be replaced with the Beans projectprotected Tag
StandardRepresenter. getTag(java.lang.Class<?> clazz, Tag defaultTag)
Define the way to get the Tag for any classMethods in org.snakeyaml.engine.v2.representer with parameters of type Tag Modifier and Type Method Description Tag
StandardRepresenter. addClassTag(java.lang.Class<? extends java.lang.Object> clazz, Tag tag)
Deprecated.should be replaced with the Beans projectprotected Tag
StandardRepresenter. getTag(java.lang.Class<?> clazz, Tag defaultTag)
Define the way to get the Tag for any classprotected Node
BaseRepresenter. representMapping(Tag tag, java.util.Map<?,?> mapping, FlowStyle flowStyle)
Create Node for the provided Mapprotected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value)
Create Node for string using PLAIN scalar style if possibleprotected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value, ScalarStyle style)
Create Scalar Node from stringprotected Node
BaseRepresenter. representSequence(Tag tag, java.lang.Iterable<?> sequence, FlowStyle flowStyle)
Create Node -
Uses of Tag in org.snakeyaml.engine.v2.resolver
Fields in org.snakeyaml.engine.v2.resolver declared as Tag Modifier and Type Field Description private Tag
ResolverTuple. tag
Methods in org.snakeyaml.engine.v2.resolver that return Tag Modifier and Type Method Description Tag
ResolverTuple. getTag()
Tag
BaseScalarResolver. resolve(java.lang.String value, java.lang.Boolean implicit)
Tag
ScalarResolver. resolve(java.lang.String value, java.lang.Boolean implicit)
Resolve (detect) the tag of the scalar node of the given type.Methods in org.snakeyaml.engine.v2.resolver with parameters of type Tag Modifier and Type Method Description void
BaseScalarResolver. addImplicitResolver(Tag tag, java.util.regex.Pattern regexp, java.lang.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 Constructor Description ResolverTuple(Tag tag, java.util.regex.Pattern regexp)
-
Uses of Tag in org.snakeyaml.engine.v2.schema
Fields in org.snakeyaml.engine.v2.schema with type parameters of type Tag Modifier and Type Field Description private java.util.Map<Tag,ConstructNode>
CoreSchema. tagConstructors
private java.util.Map<Tag,ConstructNode>
JsonSchema. tagConstructors
Methods in org.snakeyaml.engine.v2.schema that return types with arguments of type Tag Modifier and Type Method Description java.util.Map<Tag,ConstructNode>
CoreSchema. getSchemaTagConstructors()
Provide constructs to support the schema (bool, int, float)java.util.Map<Tag,ConstructNode>
FailsafeSchema. getSchemaTagConstructors()
No constructs providedjava.util.Map<Tag,ConstructNode>
JsonSchema. getSchemaTagConstructors()
Basic constructsjava.util.Map<Tag,ConstructNode>
Schema. getSchemaTagConstructors()
Provide the way to construct the resolved tag.
-