|
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.config.xml.DocumentElementPreprocessor
public class DocumentElementPreprocessor
A DocumentElementPreprocessor is a DocumentPreprocessor that is designed to operate with one or more DocumentElementPreprocessor.ElementPreprocessors.
| Nested Class Summary | |
|---|---|
static interface |
DocumentElementPreprocessor.ElementPreprocessorAn DocumentElementPreprocessor.ElementPreprocessor provides a mechanism to examine and optionally mutate an XmlElement prior to it being processed by a ElementProcessor. |
| Constructor Summary | |
|---|---|
DocumentElementPreprocessor()Constructs a DocumentElementPreprocessor. |
|
| Method Summary | |
|---|---|
DocumentElementPreprocessor |
addElementPreprocessor(DocumentElementPreprocessor.ElementPreprocessor preprocessor)Adds an DocumentElementPreprocessor.ElementPreprocessor to the DocumentElementPreprocessor. |
boolean |
preprocess(ProcessingContext context, XmlElement xmlElement)Performs pre-processing of the an XmlElement, optionally mutating it (or it's children) as required. |
| Constructor Detail |
|---|
public DocumentElementPreprocessor()
DocumentElementPreprocessor.| Method Detail |
|---|
public DocumentElementPreprocessor addElementPreprocessor(DocumentElementPreprocessor.ElementPreprocessor preprocessor)
DocumentElementPreprocessor.ElementPreprocessor to the DocumentElementPreprocessor.preprocessor - the DocumentElementPreprocessor.ElementPreprocessor to addDocumentElementPreprocessor (this) to support fluent-style calls
public boolean preprocess(ProcessingContext context,
XmlElement xmlElement)
throws ConfigurationException
XmlElement, optionally mutating it (or it's children) as required.
Implementations of this interface may traverse and/or perform any mutations on the specified XmlElement.
Note: It is illegal to modify an XmlElement outside the scope of the provided XmlElement. eg: Attempting to modify any of the parents of the provided XmlElement may result in undefined and unexpected behavior. Only mutations of the XmlElement itself or children is permitted.
preprocess in interface DocumentPreprocessorcontext - the ProcessingContext in which the XmlElement is being pre-processedxmlElement - the XmlElement to pre-processtrue if the specified XmlElement should be reconsidered either by this or other DocumentPreprocessors for re-preprocessing due to mutations on the XmlElement, false otherwise.ConfigurationException - if during pre-processing of the XmlElement a configuration issue was discovered (or if pre-processing fails for some reason)
|
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 | |||||||