|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
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.PofSerializerPreprocessor
public class PofSerializerPreprocessor
A PofSerializerPreprocessor
is an DocumentElementPreprocessor.ElementPreprocessor
that replaces any occurrence of <serializer>pof</serializer> with a ConfigurablePofContext
configuration, passing in the provided POF configuration URI in the initialization parameters.
Constructor Summary | |
---|---|
PofSerializerPreprocessor() Constructs a PofSerializerPreprocessor . |
Method Summary | |
---|---|
boolean |
preprocess(ProcessingContext context, XmlElement element) Process an XmlElement , optionally mutating it (or it's children) if required. |
protected void |
preprocess(XmlElement element, java.lang.String sPofConfigUri) Recursively replace the <serializer>pof</serializer> element with a serializer element containing the PofConfigUri. |
Constructor Detail |
---|
public PofSerializerPreprocessor()
PofSerializerPreprocessor
.Method Detail |
---|
public boolean preprocess(ProcessingContext context, XmlElement element) throws ConfigurationException
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)protected void preprocess(XmlElement element, java.lang.String sPofConfigUri)
element
- the parent XML elementsPofConfigUri
- the POF serialize URI
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |