Class XMLNiceEntityBuilder
java.lang.Object
ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
ch.tocco.nice2.model.entity.impl.entity.XMLNiceEntityBuilder
- All Implemented Interfaces:
NiceModelBuilder
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
displayValueFactory, factory, log
-
Constructor Summary
ConstructorsConstructorDescriptionXMLNiceEntityBuilder
(org.slf4j.Logger log, DisplayValueFactory displayValueFactory, ValidatorHandlerContextFactory validatorHandlerContextFactory, DisplayFactory displayFactory, DefaultValueResolver resolver, ConfigModuleContext configModuleContext, L10N l10n, RunEnvironmentService runEnvironmentService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
buildHandlerInstance
(Object receiver) Return a new instance of a class, which can handle the event of the xml-unmarshallerprotected String
Return the name of the first xml-taggetType()
Return the type of Tvoid
setEntityModelHandlerContributions
(List<EntityModelHandlerService> contributions) Methods inherited from class ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
afterParse, beforeParse, buildModel, shouldIgnoreUnhandledAttributes
-
Constructor Details
-
XMLNiceEntityBuilder
public XMLNiceEntityBuilder(org.slf4j.Logger log, DisplayValueFactory displayValueFactory, ValidatorHandlerContextFactory validatorHandlerContextFactory, DisplayFactory displayFactory, @Lazy DefaultValueResolver resolver, ConfigModuleContext configModuleContext, L10N l10n, RunEnvironmentService runEnvironmentService)
-
-
Method Details
-
getType
Description copied from interface:NiceModelBuilder
Return the type of T -
buildHandlerInstance
Description copied from class:AbstractXMLUnmarshallerModelBuilder
Return a new instance of a class, which can handle the event of the xml-unmarshaller State: It's guaranteed that all protected methods are set and valid- Specified by:
buildHandlerInstance
in classAbstractXMLUnmarshallerModelBuilder
- Parameters:
receiver
- the receiver.- Returns:
- the instance, non-null.
-
getFirstTag
Description copied from class:AbstractXMLUnmarshallerModelBuilder
Return the name of the first xml-tag- Specified by:
getFirstTag
in classAbstractXMLUnmarshallerModelBuilder
- Returns:
- non-null
-
setEntityModelHandlerContributions
@Autowired public void setEntityModelHandlerContributions(List<EntityModelHandlerService> contributions)
-