Interface ElementDefinition<C extends ConfigurationInfo>

  • All Known Implementing Classes:

    public interface ElementDefinition<C extends ConfigurationInfo>
    Defines a container for a set of configuration Attribute. It is usually represented as a top level element when serialized as XML or a top level object for JSON and is associated with a Configuration instance. An ElementDefinition can contain zero or more sub-elements representing nested configurations.
    • Method Detail

      • isTopLevel

        boolean isTopLevel()
        true if the ElementDefinition is top-level or false if its attributes and children should be merged with the parent element when serializing.
      • omitIfEmpty

        default boolean omitIfEmpty()
      • supports

        boolean supports​(java.lang.String elementName)
        true if a serialized elementName matches this ElementDefinition.