|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.config.xml.preprocessor.DefaultsCreationPreprocessor
public class DefaultsCreationPreprocessor
A DefaultsCreationPreprocessor
is an DocumentElementPreprocessor.ElementPreprocessor
that creates necessary defaults, like for <serializer>s, if they are missing from the <defaults> element.
Constructor Summary | |
---|---|
DefaultsCreationPreprocessor() Constructs a DefaultsCreationPreprocessor . |
Method Summary | |
---|---|
boolean |
preprocess(ProcessingContext context, XmlElement element) Process an XmlElement , optionally mutating it (or it's children) if required. |
Constructor Detail |
---|
public DefaultsCreationPreprocessor()
DefaultsCreationPreprocessor
.Method Detail |
---|
public boolean preprocess(ProcessingContext context, XmlElement element) throws ConfigurationException
DocumentElementPreprocessor.ElementPreprocessor
XmlElement
, 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 a DocumentPreprocessor
.
preprocess
in interface DocumentElementPreprocessor.ElementPreprocessor
context
- the ProcessingContext
in which the pre-processing is occuringelement
- the XmlElement
to preprocesstrue
if the specified XmlElement
should be re-preprocessed by this and other DocumentElementPreprocessor.ElementPreprocessor
s due to the XmlElement
being modified, false
otherwise.ConfigurationException
- if during pre-processing of the XmlElement
a configuration issue was discovered (or if pre-processing fails for some reason)
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |