META-INF.xsd.smooks.yaml-1.4.xsd Maven / Gradle / Ivy
The newest version!
Smooks YAML Reader Configuration
YAML Reader Configuration
The YAML reader reads a YAML stream and converts it to SAX events that Smooks
can process.
YAML Reader
Defines a YAML element name mapping
The "from" key will be replaced with the "to" key or the contents of the element.
The strategy how to handle YAML anchors and aliases.
Possible values:
- REFER:
Adds a 'id' attribute to the
element with the anchor and the 'ref'
attribute to the elements with the alias.
The value of these attributes is the name of
the anchor. The reference needs to be
handled within the Smooks config. The
attribute names can be set via the
'anchorAttributeName' and
'aliasAttributeName' properties.
- RESOLVE:
The elements or value from the anchor are
resolved (copied) under the element with the
alias. Smooks doesn't see that there was a
reference.
- REFER_RESOLVE:
A combination of REFER and RESOLVE. The element of the anchor
are resolved and the attributes are set. You
should use this if you want to resolve the
element but also need the alias name because
it has a business meaning.
Adds a 'id' attribute to the
element with the anchor and the 'ref'
attribute to the elements with the alias.
The value of these attributes is the name of
the anchor. The reference needs to be
handled within the Smooks config. The
attribute names can be set via the
'anchorAttributeName' and
'aliasAttributeName' properties.
A combination of
REFER and RESOLVE. The element of the anchor
are resolved and the attributes are set. You
should use this if you want to resolve the
element but also need the alias name because
it has a business meaning.
A combination of
REFER and RESOLVE. The element of the anchor
are resolved and the attributes are set. You
should use this if you want to resolve the
element but also need the alias name because
it has a business meaning.
The name of the anchor attribute when the aliasStrategy is REFER or REFER_RESOLVER.
The name of the alias attribute when the aliasStrategy is REFER or REFER_RESOLVER.
The element name of the document root. Default of 'yaml'.
The element name of the yaml document declaration. Default of 'document'.
The element name of a array element. Default of 'element'.
The replacement character for whitespaces in a YAML map key.
By default this not defined, so that the reader doesn't search for whitespaces.
The prefix character to add if the YAML node name starts with a number.
By default this is not defined, so that the reader doesn't search for element names that start with a number.
If illegal characters are encountered in a YAML element name then they are replaced with this value.
By default this is not defined, so that the reader doesn't doesn't search for illegal characters.
Add indentation character data to the generated event stream. This simply makes
the generated event stream easier to read in its serialized form. Useful for
testing etc.
Defines a YAML element name mapping.
The "from" key will be replaced with the "to" key or the contents of this element.
The name of the key that will be replaced.
The name the "from" key name is changed into.