|
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.AbstractElementMergingPreprocessor
public abstract class AbstractElementMergingPreprocessor
An AbstractElementMergingPreprocessor
provides the ability to merge and track the origin of merged XmlElement
s into other XmlElement
s. This is useful when we'd like to both perform an track how XmlElement
s are merged from other XmlElement
s or documents.
Field Summary | |
---|---|
static java.lang.String |
ORIGINATED_FROM_ATTR The 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 otherwisepublic 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® 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 |