Class ViewSchemePreprocessor
- java.lang.Object
-
- com.tangosol.coherence.config.xml.preprocessor.ViewSchemePreprocessor
-
- All Implemented Interfaces:
DocumentElementPreprocessor.ElementPreprocessor
public class ViewSchemePreprocessor extends Object implements DocumentElementPreprocessor.ElementPreprocessor
DocumentElementPreprocessor.ElementPreprocessor
for the "view-scheme" element.- Since:
- 12.2.1.4
- Author:
- rlubke
-
-
Field Summary
Fields Modifier and Type Field Description static ViewSchemePreprocessor
INSTANCE
SingletonViewSchemePreprocessor
reference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
preprocess(ProcessingContext context, XmlElement element)
Process anXmlElement
, optionally mutating it (or it's children) if required.
-
-
-
Field Detail
-
INSTANCE
public static final ViewSchemePreprocessor INSTANCE
SingletonViewSchemePreprocessor
reference.
-
-
Method Detail
-
preprocess
public boolean preprocess(ProcessingContext context, XmlElement element) throws ConfigurationException
Description copied from interface:DocumentElementPreprocessor.ElementPreprocessor
Process anXmlElement
, optionally mutating it (or it's children) if required.Note: An implementation of this interface should avoid attempting to traverse child
XmlElement
s. If you wish to manually traverse or change the entire document, you should instead use aDocumentPreprocessor
.- Specified by:
preprocess
in interfaceDocumentElementPreprocessor.ElementPreprocessor
- Parameters:
context
- theProcessingContext
in which the pre-processing is occurringelement
- theXmlElement
to preprocess- Returns:
true
if the specifiedXmlElement
should be re-preprocessed by this and otherDocumentElementPreprocessor.ElementPreprocessor
s due to theXmlElement
being modified,false
otherwise.- Throws:
ConfigurationException
- if during pre-processing of theXmlElement
a configuration issue was discovered (or if pre-processing fails for some reason)
-
-