Interface XmlNode

All Known Implementing Classes:
XmlNodeImpl

@Experimental @ThreadSafe @Immutable public interface XmlNode
An immutable xml node.
Since:
4.0
  • Field Details

    • CHILDREN_COMBINATION_MODE_ATTRIBUTE

      static final String CHILDREN_COMBINATION_MODE_ATTRIBUTE
      See Also:
    • CHILDREN_COMBINATION_MERGE

      static final String CHILDREN_COMBINATION_MERGE
      See Also:
    • CHILDREN_COMBINATION_APPEND

      static final String CHILDREN_COMBINATION_APPEND
      See Also:
    • DEFAULT_CHILDREN_COMBINATION_MODE

      static final String DEFAULT_CHILDREN_COMBINATION_MODE
      This default mode for combining children DOMs during merge means that where element names match, the process will try to merge the element data, rather than putting the dominant and recessive elements (which share the same element name) as siblings in the resulting DOM.
      See Also:
    • SELF_COMBINATION_MODE_ATTRIBUTE

      static final String SELF_COMBINATION_MODE_ATTRIBUTE
      See Also:
    • SELF_COMBINATION_OVERRIDE

      static final String SELF_COMBINATION_OVERRIDE
      See Also:
    • SELF_COMBINATION_MERGE

      static final String SELF_COMBINATION_MERGE
      See Also:
    • SELF_COMBINATION_REMOVE

      static final String SELF_COMBINATION_REMOVE
      See Also:
    • ID_COMBINATION_MODE_ATTRIBUTE

      static final String ID_COMBINATION_MODE_ATTRIBUTE
      In case of complex XML structures, combining can be done based on id.
      See Also:
    • KEYS_COMBINATION_MODE_ATTRIBUTE

      static final String KEYS_COMBINATION_MODE_ATTRIBUTE
      In case of complex XML structures, combining can be done based on keys. This is a comma separated list of attribute names.
      See Also:
    • DEFAULT_SELF_COMBINATION_MODE

      static final String DEFAULT_SELF_COMBINATION_MODE
      This default mode for combining a DOM node during merge means that where element names match, the process will try to merge the element attributes and values, rather than overriding the recessive element completely with the dominant one. This means that wherever the dominant element doesn't provide the value or a particular attribute, that value or attribute will be set from the recessive DOM node.
      See Also:
  • Method Details