Package ch.tocco.nice2.model.form.spi
Class AbstractTemplateHandler
java.lang.Object
ch.tocco.nice2.model.form.spi.AbstractTemplateHandler
- Direct Known Subclasses:
TemplateHandler
Deprecated.
Abstract base class for template receivers.
Other modules may subclass this to add additional template types to the template model that are based on
the template XML file specification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DisplayValueDeprecated.protected StringDeprecated.protected final TemplateModelReceiverDeprecated.protected URIDeprecated.protected TemplateDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTemplateHandler(TemplateModelReceiver receiver, ComponentHandlerContextFactory handlerFacContext) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.protected abstract TemplateDeprecated.final voidfinished()Deprecated.final voidDeprecated.final voidDeprecated.voidsetNameSpace(String ignore) Deprecated.final voidDeprecated.voidstartElement(String elementName, URI resourceName) Deprecated.Deprecated.
-
Field Details
-
name
Deprecated. -
receiver
Deprecated. -
template
Deprecated. -
label
Deprecated. -
resourceName
Deprecated.
-
-
Constructor Details
-
AbstractTemplateHandler
public AbstractTemplateHandler(TemplateModelReceiver receiver, ComponentHandlerContextFactory handlerFacContext) Deprecated.
-
-
Method Details
-
startElement
@StartElement public void startElement(@ElementName String elementName, @ResourceName URI resourceName) throws ModelBuildException Deprecated.- Throws:
ModelBuildException
-
setNameSpace
Deprecated. -
tag
@AnyElement @Cardinality(min=1, max=2147483647) public Object tag(@ElementName String tagName) throws ModelBuildException Deprecated.- Throws:
ModelBuildException
-
setName
Deprecated. -
setLabel
Deprecated.- Throws:
ModelBuildException
-
setPath
Deprecated. -
finished
Deprecated.- Throws:
ModelBuildException
-
beforeFinish
Deprecated.- Throws:
ModelBuildException
-
createTemplate
Deprecated.
-