| 
 | 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.AbstractElementMergingPreprocessor
com.tangosol.coherence.config.xml.preprocessor.AbstractElementMergingPreprocessor
public abstract class AbstractElementMergingPreprocessor
An AbstractElementMergingPreprocessor provides the ability to merge and track the origin of merged XmlElements into other XmlElements. This is useful when we'd like to both perform an track how XmlElements are merged from other XmlElements or documents.
| Field Summary | |
|---|---|
| static java.lang.String | ORIGINATED_FROM_ATTRThe attribute that holds all of the origination URIs. | 
| Constructor Summary | |
|---|---|
| AbstractElementMergingPreprocessor()Constructs an AbstractElementMergingPreprocessor. | |
| Method Summary | |
|---|---|
|  void | addOriginatedFromAttribute(XmlElement xmlElement, java.lang.String sType, java.lang.String sLocation)Adds the specified "type://location" to the "originated-from" attribute of the provided XmlElement. | 
|  void | setMaintainOriginatedFromAttribute(boolean fMaintainOriginatedFromAttribute)Sets whether or not the "originated-from" attribute should be added to merged elements. | 
| Field Detail | 
|---|
public static final java.lang.String ORIGINATED_FROM_ATTR
| Constructor Detail | 
|---|
public AbstractElementMergingPreprocessor()
AbstractElementMergingPreprocessor.| Method Detail | 
|---|
public void setMaintainOriginatedFromAttribute(boolean fMaintainOriginatedFromAttribute)
true.fMaintainOriginatedFromAttribute - true if the attribute should be added and updated, false otherwise
public void addOriginatedFromAttribute(XmlElement xmlElement,
                                       java.lang.String sType,
                                       java.lang.String sLocation)
XmlElement. Should the attribute already be defined, the type://location is added to the end of the attribute (making it a comma separated list).xmlElement - the XmlElement to which to add the attributesType - the type of location origin. eg: operational, defaults, filesLocation - the location| 
 | 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 | |||||||