public interface ElementDefinition<C extends ConfigurationInfo>
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.| Modifier and Type | Interface and Description |
|---|---|
static class |
ElementDefinition.ElementOutput
An ElementOutput specifies the name and optionally the class that an element must be serialized.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTopLevel() |
default boolean |
omitIfEmpty() |
boolean |
supports(String elementName) |
ElementDefinition.ElementOutput |
toExternalName(C configuration) |
boolean isTopLevel()
ElementDefinition.ElementOutput toExternalName(C configuration)
ElementDefinition.ElementOutput for serialization purposes of the configuration element.default boolean omitIfEmpty()
boolean supports(String elementName)
Copyright © 2022 JBoss by Red Hat. All rights reserved.