Modifier and Type | Method and Description |
---|---|
static 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 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.
|
void |
LdifEntry.setDn(String dn)
Set the Distinguished Name
|
Modifier and Type | Class and Description |
---|---|
class |
TooComplexException
This exception is used to signal, that the complex parser should be used.
|
Modifier and Type | Method and Description |
---|---|
DN |
DN.add(int posn,
String comp) |
DN |
DN.add(String comp) |
DN |
DN.addAll(DN suffix) |
DN |
DN.addAll(int posn,
DN dn) |
DN |
DN.addAll(int posn,
Name name) |
DN |
DN.addAllNormalized(int posn,
DN name)
Adds the components of a name -- in order -- at a specified position
within this name.
|
Object |
RDN.getValue(String type)
Get the Value of the AttributeTypeAndValue which type is given as an
argument.
|
static DN |
DN.normalize(DN dn,
Map<String,OidNormalizer> oidsMap)
Change the internal DN, using the OID instead of the first name or other
aliases.
|
DN |
DN.normalize(Map<String,OidNormalizer> oidsMap)
Change the internal DN, using the OID instead of the first name or other
aliases.
|
RDN |
RDN.normalize(Map<String,OidNormalizer> oidsMap)
Transform a RDN by changing the value to its OID counterpart and
normalizing the value accordingly to its type.
|
static DN |
DN.normalize(String name,
Map<String,OidNormalizer> oidsMap)
Static factory which creates a normalized DN from a String and a Map of OIDs.
|
String |
SimpleNameComponentNormalizer.normalizeName(String attributeName) |
DN |
DnParser.parse(String dn)
Parse a String and return a DN if the String is a valid DN
|
static void |
RdnParser.parse(String dn,
RDN rdn)
Parse a NameComponent :
|
void |
FastDnParser.parseDn(String name,
DN dn)
Parses the given name string and fills the given DN object.
|
void |
ComplexDnParser.parseDn(String name,
List<RDN> rdns)
Parses an DN.
|
static void |
DnParser.parseInternal(String name,
List<RDN> rdns)
Parse a DN.
|
void |
FastDnParser.parseRdn(String name,
RDN rdn)
Parses the given name string and fills the given Rdn object.
|
void |
ComplexDnParser.parseRdn(String name,
RDN rdn)
Parses an RDN.
|
RDN |
DN.remove(int posn) |
void |
AVA.setType(String upType,
String type)
Store a new type
|
void |
AVA.setTypeNormalized(String type)
Store the type, after having trimmed and lowercased it.
|
Constructor and Description |
---|
AVA(String upType,
String normType,
byte[] upValue,
byte[] normValue)
Construct an AVA.
|
AVA(String upType,
String normType,
String upValue,
String normValue)
Construct an AVA.
|
AVA(String upType,
String normType,
Value<?> upValue,
Value<?> normValue)
Construct an AVA.
|
AVA(String upType,
String normType,
Value<?> upValue,
Value<?> normValue,
String upName)
Construct an AVA.
|
DN(DN dn)
Copies a DN to an DN.
|
DN(String... upRdns)
Creates a new instance of DN, using varargs to declare the RDNs.
|
DN(String upName)
Parse a String and checks that it is a valid DN
|
RDN(String rdn)
A constructor that parse a String representing a RDN.
|
RDN(String upType,
String upValue)
A constructor that constructs a RDN from a type and a value.
|
RDN(String upType,
String normType,
String upValue,
String normValue)
A constructor that constructs a RDN from a type and a value.
|
Modifier and Type | Method and Description |
---|---|
DN |
DnComparator.getDn(Object obj) |
DN |
UniqueMemberComparator.getDn(Object obj) |
Modifier and Type | Method and Description |
---|---|
String |
BooleanNormalizer.normalize(String value)
Gets the normalized value.
|
Value<?> |
BooleanNormalizer.normalize(Value<?> value)
Gets the normalized value.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
NamespaceTools.getCompositeComponents(String compositeNameComponent)
Gets the '+' appended components of a composite name component.
|
static DN |
NamespaceTools.getRelativeName(DN ancestor,
DN descendant)
Gets the relative name between an ancestor and a potential descendant.
|
static boolean |
NamespaceTools.hasCompositeComponents(String name)
Checks to see if a name has name complex name components in it.
|
static boolean |
NamespaceTools.isSibling(DN name1,
DN name2)
Checks to see if two names are siblings.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.