@Issue(id="131", uri="https://github.com/microbean/microbean-helm/issues/131") public final class StringResolver extends Resolver
Constructor and Description |
---|
StringResolver()
Creates a new
StringResolver . |
Modifier and Type | Method and Description |
---|---|
Tag |
resolve(NodeId kind,
String value,
boolean implicit)
Overrides the
Resolver.resolve(NodeId, String, boolean)
method so that all implicit scalar non-null YAML node
values are resolved as Tag.STR . |
addImplicitResolver, addImplicitResolvers
public StringResolver()
StringResolver
.public final Tag resolve(NodeId kind, String value, boolean implicit)
Resolver.resolve(NodeId, String, boolean)
method so that all implicit scalar non-null
YAML node
values are resolved as Tag.STR
.resolve
in class Resolver
kind
- the kind of YAML node being processed; may be null
value
- the value of the node; may be null
implicit
- whether the typing is implicit or explicitTag
instance representing the YAML node typeResolver.resolve(NodeId, String, boolean)
Copyright © 2017–2018, microBean. All rights reserved.