Class DomConfigPayloadBuilder
java.lang.Object
com.yahoo.vespa.model.builder.xml.dom.DomConfigPayloadBuilder
Builder that transforms xml config to a slime tree representation of the config. The root element of the xml config
must be named 'config' and have a 'name' attribute that matches the name of the
ConfigDefinition. The values
are not validated against their types. That task is moved to the builders.- Author:
- Ulf Lilleengen
-
Constructor Summary
ConstructorsConstructorDescriptionDomConfigPayloadBuilder(com.yahoo.vespa.config.ConfigDefinition configDefinition) -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.vespa.config.ConfigPayloadBuilderBuilds aConfigPayloadBuilderrepresenting the input 'config' xml element.static com.yahoo.vespa.config.ConfigDefinitionKeyparseConfigName(Element configE)
-
Constructor Details
-
DomConfigPayloadBuilder
public DomConfigPayloadBuilder(com.yahoo.vespa.config.ConfigDefinition configDefinition)
-
-
Method Details
-
build
Builds aConfigPayloadBuilderrepresenting the input 'config' xml element.- Parameters:
configE- the 'config' xml element- Returns:
- a new payload builder built from xml
-
parseConfigName
-