@XmlSimpleName(value="instance") public class InstanceProcessor extends Object implements ElementProcessor<ParameterizedBuilder<Object>>
InstanceProcessor is responsible for processing <instance> XmlElements
to produce ParameterizedBuilders.| Constructor and Description |
|---|
InstanceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isForeignNamespace(XmlElement element)
Return true if the given element meets the following criteria:
there is a single sub element
the namespace of the sub element is not in the Coherence namespace
|
ParameterizedBuilder<Object> |
process(ProcessingContext context,
XmlElement element)
Process an
XmlElement to return a specific type of value. |
public ParameterizedBuilder<Object> process(ProcessingContext context, XmlElement element) throws ConfigurationException
XmlElement to return a specific type of value.process in interface ElementProcessor<ParameterizedBuilder<Object>>context - the ProcessingContext in which the
XmlElement is being processedelement - the XmlElement to processConfigurationException - when a configuration problem was encounteredprotected boolean isForeignNamespace(XmlElement element)
element - the <instance> element to inspect