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.ElementPreprocessorfor the "view-scheme" element.- Since:
- 12.2.1.4
- Author:
- rlubke
-
-
Field Summary
Fields Modifier and Type Field Description static ViewSchemePreprocessorINSTANCESingletonViewSchemePreprocessorreference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanpreprocess(ProcessingContext context, XmlElement element)Process anXmlElement, optionally mutating it (or it's children) if required.
-
-
-
Field Detail
-
INSTANCE
public static final ViewSchemePreprocessor INSTANCE
SingletonViewSchemePreprocessorreference.
-
-
Method Detail
-
preprocess
public boolean preprocess(ProcessingContext context, XmlElement element) throws ConfigurationException
Description copied from interface:DocumentElementPreprocessor.ElementPreprocessorProcess anXmlElement, optionally mutating it (or it's children) if required.Note: An implementation of this interface should avoid attempting to traverse child
XmlElements. If you wish to manually traverse or change the entire document, you should instead use aDocumentPreprocessor.- Specified by:
preprocessin interfaceDocumentElementPreprocessor.ElementPreprocessor- Parameters:
context- theProcessingContextin which the pre-processing is occurringelement- theXmlElementto preprocess- Returns:
trueif the specifiedXmlElementshould be re-preprocessed by this and otherDocumentElementPreprocessor.ElementPreprocessors due to theXmlElementbeing modified,falseotherwise.- Throws:
ConfigurationException- if during pre-processing of theXmlElementa configuration issue was discovered (or if pre-processing fails for some reason)
-
-