| Modifier and Type | Method and Description |
|---|---|
void |
Entry.setDn(java.lang.String dn)
Set this entry's Dn.
|
void |
ImmutableEntry.setDn(java.lang.String dn)
Set this entry's Dn.
|
void |
DefaultEntry.setDn(java.lang.String dn)
Set this entry's Dn.
|
| Constructor and Description |
|---|
DefaultEntry(SchemaManager schemaManager,
java.lang.String dn)
Creates a new instance of DefaultEntry, schema aware.
|
DefaultEntry(java.lang.String dn)
Creates a new instance of DefaultEntry, with a Dn.
|
| Modifier and Type | Method and Description |
|---|---|
private static LdifEntry |
LdifRevertor.generateReverted(Dn newSuperior,
Rdn newRdn,
Dn newDn,
Rdn oldRdn,
boolean deleteOldRdn)
A helper method which generates a reverted entry
|
static java.util.List<LdifEntry> |
LdifRevertor.reverseMoveAndRename(Entry entry,
Dn newSuperior,
Rdn newRdn,
boolean deleteOldRdn)
Revert a Dn to it's previous version by removing the first Rdn and adding the given Rdn.
|
static java.util.List<LdifEntry> |
LdifRevertor.reverseRename(Entry entry,
Rdn newRdn,
boolean deleteOldRdn)
Revert a Dn to it's previous version by removing the first Rdn and adding the given Rdn.
|
private static LdifEntry |
LdifRevertor.revertEntry(Entry entry,
Dn newDn,
Dn newSuperior,
Rdn oldRdn,
Rdn newRdn)
A small helper class to compute the simple revert.
|
void |
LdifEntry.setDn(java.lang.String dn)
Set the Distinguished Name
|
| Constructor and Description |
|---|
LdifEntry(java.lang.String dn,
java.lang.Object... strings)
Creates a LdifEntry using a list of strings representing the Ldif element
|
| Modifier and Type | Class and Description |
|---|---|
class |
TooComplexDnException
This exception is used to signal that the complex parser should be used.
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
Dn.add(Dn suffix) |
Dn |
Dn.add(Rdn newRdn)
Adds a single Rdn to the (leaf) end of this name.
|
Dn |
Dn.add(java.lang.String comp) |
(package private) void |
Rdn.addAVA(SchemaManager schemaManager,
Ava value)
Add an Ava to the current schema aware Rdn
|
private void |
Rdn.addAVA(SchemaManager schemaManager,
java.lang.String upType,
java.lang.String type,
Value<?> value)
Add an Ava to the current Rdn
|
Dn |
Dn.apply(SchemaManager schemaManager)
Normalizes the Dn using the given the schema manager, unless the Dn is already normalized
|
Rdn |
Rdn.apply(SchemaManager schemaManager)
Transform a Rdn by changing the value to its OID counterpart and
normalizing the value accordingly to its type.
|
void |
Ava.apply(SchemaManager schemaManager)
Apply a SchemaManager to the Ava.
|
Dn |
Dn.apply(SchemaManager schemaManager,
boolean force)
Normalizes the Dn using the given the schema manager.
|
private static Ava |
Dn.atavOidToName(Ava atav,
SchemaManager schemaManager)
Normalize the Ava
|
private void |
Ava.createAva(SchemaManager schemaManager,
java.lang.String upType,
Value<?> value)
Construct a schema aware Ava.
|
private void |
Ava.createAva(java.lang.String upType,
Value<?> upValue)
Construct an Ava.
|
Dn |
Dn.getAncestorOf(Dn descendant)
Get the ancestor of a given DN, using the descendant DN.
|
Dn |
Dn.getAncestorOf(java.lang.String descendant)
Get the ancestor of a given DN, using the descendant DN.
|
Dn |
Dn.getDescendantOf(Dn ancestor)
Get the descendant of a given DN, using the ancestr DN.
|
Dn |
Dn.getDescendantOf(java.lang.String ancestor)
Get the descendant of a given DN, using the ancestr DN.
|
java.lang.Object |
Rdn.getNormValue(java.lang.String type)
Get the normalized value of the Ava which type is given as an
argument.
|
java.lang.Object |
Rdn.getValue(java.lang.String type)
Get the value of the Ava which type is given as an
argument.
|
private static java.lang.String |
FastDnParser.matchAttributeType(char[] name,
Position pos)
Matches attribute type.
|
private static java.lang.String |
FastDnParser.matchAttributeTypeDescr(char[] name,
Position pos)
Matches attribute type descr.
|
private static java.lang.String |
FastDnParser.matchAttributeTypeNumericOid(char[] name,
Position pos)
Matches attribute type numeric OID.
|
private static void |
FastDnParser.matchEquals(char[] name,
Position pos)
Matches the equals character.
|
private static void |
FastDnParser.matchSpaces(char[] name,
Position pos)
Matches and forgets optional spaces.
|
private static java.lang.String |
FastDnParser.matchValue(char[] name,
Position pos)
Matches the assertion value.
|
private static char |
FastDnParser.nextChar(char[] name,
Position pos,
boolean increment)
Gets the next character.
|
private static void |
Rdn.parse(java.lang.String dn,
Rdn rdn)
Parse a NameComponent :
|
(package private) static void |
FastDnParser.parseDn(java.lang.String name,
Dn dn)
Parses the given name string and fills the given Dn object.
|
(package private) static void |
FastDnParser.parseDn(java.lang.String name,
java.util.List<Rdn> rdns) |
(package private) void |
ComplexDnParser.parseDn(java.lang.String name,
java.util.List<Rdn> rdns)
Parses an Dn.
|
private static void |
Dn.parseInternal(java.lang.String name,
java.util.List<Rdn> rdns)
Parse a Dn.
|
(package private) static void |
FastDnParser.parseRdn(java.lang.String name,
Rdn rdn)
Parses the given name string and fills the given Rdn object.
|
(package private) void |
ComplexDnParser.parseRdn(java.lang.String name,
Rdn rdn)
Parses an Rdn.
|
private static void |
FastDnParser.parseRdnInternal(java.lang.String name,
Position pos,
Rdn rdn) |
(package private) static void |
Dn.rdnOidToName(Rdn rdn,
SchemaManager schemaManager)
No qualifier
|
(package private) void |
Rdn.replaceAva(Ava value,
int pos)
Replace an Ava into a Rdn at a given position
|
| Constructor and Description |
|---|
Ava(AttributeType attributeType,
java.lang.String upType,
java.lang.String normType,
Value<?> value,
java.lang.String upName)
Construct an Ava.
|
Ava(SchemaManager schemaManager,
java.lang.String upType,
byte[] upValue)
Construct a schema aware Ava containing a binary value.
|
Ava(SchemaManager schemaManager,
java.lang.String upType,
java.lang.String upValue)
Construct a schema aware Ava with a String value.
|
Ava(SchemaManager schemaManager,
java.lang.String upType,
java.lang.String normType,
Value<?> value)
Construct an Ava.
|
Ava(java.lang.String upType,
byte[] upValue)
Construct an Ava containing a binary value.
|
Ava(java.lang.String upType,
java.lang.String upValue)
Construct an Ava with a String value.
|
Ava(java.lang.String upType,
java.lang.String normType,
Value<?> value,
java.lang.String upName)
Construct an Ava.
|
Dn(Rdn... rdns)
Creates a Dn from a list of Rdns.
|
Dn(Rdn rdn,
Dn dn)
Creates a Dn concatenating a Rdn and a Dn.
|
Dn(SchemaManager schemaManager,
Rdn... rdns)
Creates a Schema aware Dn from a list of Rdns.
|
Dn(SchemaManager schemaManager,
java.lang.String... upRdns)
Creates a new instance of schema aware Dn, using varargs to declare the RDNs.
|
Dn(java.lang.String... upRdns)
Creates a new instance of Dn, using varargs to declare the RDNs.
|
Rdn(Ava... avas) |
Rdn(SchemaManager schemaManager,
Ava... avas) |
Rdn(SchemaManager schemaManager,
java.lang.String rdn)
A constructor that parse a String representing a schema aware Rdn.
|
Rdn(SchemaManager schemaManager,
java.lang.String upType,
java.lang.String upValue)
A constructor that constructs a schema aware Rdn from a type and a value.
|
Rdn(java.lang.String rdn)
A constructor that parse a String representing a Rdn.
|
Rdn(java.lang.String upType,
java.lang.String upValue)
A constructor that constructs a Rdn from a type and a value.
|
| Modifier and Type | Method and Description |
|---|---|
Dn |
UniqueMemberComparator.getDn(java.lang.Object obj) |
private Dn |
DnComparator.getDn(java.lang.Object obj) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
BooleanNormalizer.normalize(java.lang.String value)
Gets the normalized value.
|
Value<?> |
BooleanNormalizer.normalize(Value<?> value)
Gets the normalized value.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
DnNode.updateAfterModDn(Dn newParentDn)
update the children's Dn based on the new parent Dn created
after a rename or move operation
|
| Modifier and Type | Method and Description |
|---|---|
void |
LdifAnonymizer.addNamingContext(java.lang.String dn)
Add a new NamingContext
|
private Ava |
LdifAnonymizer.anonymizeAva(Ava ava)
Anonymize an AVA
|