|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldif.AggregateLDIFWriterChangeRecordTranslator
@ThreadSafety(level=COMPLETELY_THREADSAFE) public final class AggregateLDIFWriterChangeRecordTranslator
This class provides an implementation of an LDIF writer change record translator that can be used to invoke multiple LDIF writer change record translators for each record to be processed.
Constructor Summary | |
---|---|
AggregateLDIFWriterChangeRecordTranslator(java.util.Collection<? extends LDIFWriterChangeRecordTranslator> translators)
Creates a new aggregate LDIF writer change record translator that will invoke all of the provided translators for each record to be processed. |
|
AggregateLDIFWriterChangeRecordTranslator(LDIFWriterChangeRecordTranslator... translators)
Creates a new aggregate LDIF writer change record translator that will invoke all of the provided translators for each record to be processed. |
Method Summary | |
---|---|
LDIFChangeRecord |
translateChangeRecordToWrite(LDIFChangeRecord original)
Applies some special transformation or filtering to the original change record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregateLDIFWriterChangeRecordTranslator(LDIFWriterChangeRecordTranslator... translators)
translators
- The set of LDIF writer change record translators to be
invoked for each record to be processed.public AggregateLDIFWriterChangeRecordTranslator(java.util.Collection<? extends LDIFWriterChangeRecordTranslator> translators)
translators
- The set of LDIF writer change record translators to be
invoked for each record to be processed.Method Detail |
---|
public LDIFChangeRecord translateChangeRecordToWrite(LDIFChangeRecord original)
translateChangeRecordToWrite
in interface LDIFWriterChangeRecordTranslator
original
- The original change record that was to be written.
null
to signal that the change record should
not be written. Note, however, that if the original record
provided as a parameter is altered, then the change will be
visible to anything that references that change record. If you
are not sure about whether changes to the original change record
are acceptable, it is recommended that you use the
duplicate()
method to create a copy of the original and
make the necessary changes to that duplicate.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |