|
xmlgraphics-commons 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.xmp.merge.MergeRuleSet
public class MergeRuleSet
Represents a set of rules used to merge to XMP properties. By default, all properties are merged by replacing any existing values with the value from the source XMP.
| Constructor Summary | |
|---|---|
MergeRuleSet()
Main constructor. |
|
| Method Summary | |
|---|---|
void |
addRule(QName propName,
PropertyMerger merger)
Adds a merge rule to this set. |
PropertyMerger |
getPropertyMergerFor(XMPProperty prop)
Returns the PropertyMerger that shall be used when merging the given property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MergeRuleSet()
| Method Detail |
|---|
public PropertyMerger getPropertyMergerFor(XMPProperty prop)
prop - the property to be merged
public void addRule(QName propName,
PropertyMerger merger)
propName - the name of the propertymerger - the property merger to be used for this property
|
xmlgraphics-commons 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||