public class CompositeSchemeProcessor<T extends AbstractCompositeScheme> extends CustomizableBuilderProcessor<T>
CompositeSchemeProcessor
is a CustomizableBuilderProcessor
for schemes
that consist of a front and back scheme.Constructor and Description |
---|
CompositeSchemeProcessor(Class<T> clzToRealize)
Constructs a
CompositeSchemeProcessor for the specified Class . |
Modifier and Type | Method and Description |
---|---|
T |
process(ProcessingContext context,
XmlElement element)
Process an
XmlElement to return a specific type of value. |
instantiate
public CompositeSchemeProcessor(Class<T> clzToRealize)
CompositeSchemeProcessor
for the specified Class
.clzToRealize
- the class that will be instantiated, injected and returned during processingpublic T process(ProcessingContext context, XmlElement element) throws ConfigurationException
XmlElement
to return a specific type of value.process
in interface ElementProcessor<T extends AbstractCompositeScheme>
process
in class CustomizableBuilderProcessor<T extends AbstractCompositeScheme>
context
- the ProcessingContext
in which the
XmlElement
is being processedelement
- the XmlElement
to processConfigurationException
- when a configuration problem was encountered