public class DefaultElementDefinition<C extends ConfigurationInfo> extends Object implements ElementDefinition<C>
ElementDefinition.ElementOutput
Constructor and Description |
---|
DefaultElementDefinition(String name) |
DefaultElementDefinition(String name,
boolean isTopLevel) |
DefaultElementDefinition(String name,
boolean isTopLevel,
boolean omitIfEmpty) |
Modifier and Type | Method and Description |
---|---|
boolean |
isTopLevel() |
boolean |
omitIfEmpty() |
boolean |
supports(String serializedName) |
ElementDefinition.ElementOutput |
toExternalName(C configuration) |
public DefaultElementDefinition(String name, boolean isTopLevel)
public DefaultElementDefinition(String name, boolean isTopLevel, boolean omitIfEmpty)
public DefaultElementDefinition(String name)
public boolean omitIfEmpty()
omitIfEmpty
in interface ElementDefinition<C extends ConfigurationInfo>
public boolean isTopLevel()
isTopLevel
in interface ElementDefinition<C extends ConfigurationInfo>
public ElementDefinition.ElementOutput toExternalName(C configuration)
toExternalName
in interface ElementDefinition<C extends ConfigurationInfo>
ElementDefinition.ElementOutput
for serialization purposes of the configuration element.public boolean supports(String serializedName)
supports
in interface ElementDefinition<C extends ConfigurationInfo>
Copyright © 2021 JBoss by Red Hat. All rights reserved.