Class RemoveFormBuilder
java.lang.Object
ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
ch.tocco.nice2.model.form.impl.form2.reader.RemoveFormBuilder
- All Implemented Interfaces:
NiceModelBuilder
Parses all remove forms and removes the specified components from the corresponding forms.
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
displayValueFactory, factory, log -
Constructor Summary
ConstructorsConstructorDescriptionRemoveFormBuilder(org.slf4j.Logger log, DisplayValueFactory displayValueFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectbuildHandlerInstance(Object receiver, SourceContribution src) Return a new instance of a class, which can handle the event of the xml-unmarshallerprotected StringReturn the name of the first xml-taggetType()Return the type of Tprotected booleanMethods inherited from class ch.tocco.nice2.model.base.spi.base.AbstractXMLUnmarshallerModelBuilder
afterParse, beforeParse, buildModel
-
Constructor Details
-
RemoveFormBuilder
-
-
Method Details
-
buildHandlerInstance
Description copied from class:AbstractXMLUnmarshallerModelBuilderReturn 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:
buildHandlerInstancein classAbstractXMLUnmarshallerModelBuilder- Parameters:
receiver- the receiver.src- the contribution that defines the source currently being handled- Returns:
- the instance, non-null.
-
getFirstTag
Description copied from class:AbstractXMLUnmarshallerModelBuilderReturn the name of the first xml-tag- Specified by:
getFirstTagin classAbstractXMLUnmarshallerModelBuilder- Returns:
- non-null
-
shouldIgnoreUnhandledAttributes
protected boolean shouldIgnoreUnhandledAttributes()- Overrides:
shouldIgnoreUnhandledAttributesin classAbstractXMLUnmarshallerModelBuilder
-
getType
Description copied from interface:NiceModelBuilderReturn the type of T
-