Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.config.xml
Class SimpleElementProcessor

java.lang.Object
  extended by com.tangosol.config.xml.SimpleElementProcessor

All Implemented Interfaces:
ElementProcessor

public class SimpleElementProcessor
extends java.lang.Object
implements ElementProcessor

A SimpleElementProcessor is an ElementProcessor implementation that will construct, initialize (via constructor injection) and return a specific type of object based on information in an XmlElement.

Since:
Coherence 12.1.2
Author:
dr 2011.05.14, bo 2011.06.23

Constructor Summary
SimpleElementProcessor(java.lang.Class clzElement)
          Construct a SimpleElementProcessor.

 

Method Summary
 java.lang.Object process(ProcessingContext context, XmlElement element)
          Process an XmlElement to return a specific type of value.

 

Constructor Detail

SimpleElementProcessor

public SimpleElementProcessor(java.lang.Class clzElement)
Construct a SimpleElementProcessor.
Parameters:
clzElement - The Class of objects returned by the ElementProcessor

Method Detail

process

public java.lang.Object process(ProcessingContext context,
                                XmlElement element)
                         throws ConfigurationException
Process an XmlElement to return a specific type of value.
Specified by:
process in interface ElementProcessor
Parameters:
context - the ProcessingContext in which the XmlElement is being processed
element - the XmlElement to process
Returns:
a value of type T
Throws:
ConfigurationException - when a configuration problem was encountered

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.