Uses of Class
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
-
-
Uses of LdapInvalidAttributeValueException in org.apache.directory.api.ldap.model.entry
Methods in org.apache.directory.api.ldap.model.entry that throw LdapInvalidAttributeValueException Modifier and Type Method Description intAttribute. add(byte[]... vals)Adds some values to this attribute.intAttribute. add(String... vals)Adds some values to this attribute.intAttribute. add(Value... val)Adds some values to this attribute.intDefaultAttribute. add(byte[]... vals)Adds some values to this attribute.intDefaultAttribute. add(String... vals)Adds some values to this attribute.voidAttribute. apply(AttributeType attributeType)Set the attribute type associated with this EntryAttribute.voidDefaultAttribute. apply(AttributeType attributeType)Set the attribute type associated with this EntryAttribute.voidDefaultModification. apply(AttributeType attributeType)Apply the AttributeType to the ModificationvoidModification. apply(AttributeType attributeType)Apply the AttributeType to the Modificationprotected voidDefaultEntry. createAttribute(String upId, AttributeType attributeType, byte[]... values)Add a new EntryAttribute, with its upId.protected voidDefaultEntry. createAttribute(String upId, AttributeType attributeType, String... values)Add a new EntryAttribute, with its upId.protected voidDefaultEntry. createAttribute(String upId, AttributeType attributeType, Value... values)Add a new EntryAttribute, with its upId.intValue. deserialize(byte[] buffer, int pos)Deserialize a StringValue from a byte[], starting at a given positionbyte[]Attribute. getBytes()Get the byte[] value, if and only if the value is known to be Binary, otherwise a InvalidAttributeValueException will be thrownbyte[]DefaultAttribute. getBytes()Get the byte[] value, if and only if the value is known to be Binary, otherwise a InvalidAttributeValueException will be thrownStringAttribute. getString()Get the String value, if and only if the value is known to be a String, otherwise a InvalidAttributeValueException will be thrownStringDefaultAttribute. getString()Get the String value, if and only if the value is known to be a String, otherwise a InvalidAttributeValueException will be thrownbooleanAttribute. isInstanceOf(AttributeType attributeType)Check if the current attribute type has the same type (or is a descendant of) than the given attributeTypebooleanDefaultAttribute. isInstanceOf(AttributeType attributeType)Check if the current attribute type has the same type (or is a descendant of) than the given attributeTypebooleanAttribute. isValid(AttributeType attributeType)Checks to see if this attribute is valid along with the values it contains.booleanDefaultAttribute. isValid(AttributeType attributeType)Checks to see if this attribute is valid along with the values it contains.booleanValue. isValid(SyntaxChecker syntaxChecker)Uses the syntaxChecker associated with the attributeType to check if the value is valid.static AttributeAttributeUtils. toApiAttribute(Attribute jndiAttribute)Convert a JNDI Attribute to an LDAP API AttributeConstructors in org.apache.directory.api.ldap.model.entry that throw LdapInvalidAttributeValueException Constructor Description DefaultAttribute(String upId, AttributeType attributeType, byte[]... vals)Create a new instance of a schema aware Attribute, with some byte[] values, and a user provided ID.DefaultAttribute(String upId, AttributeType attributeType, String... vals)Create a new instance of a schema aware Attribute, with some values, and a user provided ID.DefaultAttribute(String upId, AttributeType attributeType, Value... vals)Create a new instance of a schema aware Attribute, with some values, and a user provided ID.
If the value does not correspond to the same attributeType, then it's wrapped value is copied into a new Value which uses the specified attributeType.DefaultAttribute(AttributeType attributeType, byte[]... vals)Create a new instance of a schema aware Attribute, with some byte[] values.DefaultAttribute(AttributeType attributeType, String... vals)Create a new instance of a schema aware Attribute, without ID but with some values.DefaultAttribute(AttributeType attributeType, Value... vals)Create a new instance of a schema aware Attribute, with some values.DefaultModification(ModificationOperation operation, AttributeType attributeType)Creates a new instance of DefaultModification with no value.DefaultModification(ModificationOperation operation, AttributeType attributeType, byte[]... values)Creates a new instance of DefaultModification.DefaultModification(ModificationOperation operation, AttributeType attributeType, String... values)Creates a new instance of DefaultModification.DefaultModification(ModificationOperation operation, AttributeType attributeType, Value... values)Creates a new instance of DefaultModification.Value(AttributeType attributeType, byte[] upValue)Creates a schema aware binary Value with an initial value.Value(AttributeType attributeType, String upValue)Creates a schema aware StringValue with an initial user provided String value.Value(AttributeType attributeType, String upValue, String normValue)Creates a schema aware StringValue with an initial user provided String value and its normalized ValueValue(AttributeType attributeType, Value value)Creates a Value from an existing Value with an AttributeType -
Uses of LdapInvalidAttributeValueException in org.apache.directory.api.ldap.model.ldif
Constructors in org.apache.directory.api.ldap.model.ldif that throw LdapInvalidAttributeValueException Constructor Description LdifEntry(String dn, Object... strings)Creates a LdifEntry using a list of strings representing the Ldif elementLdifEntry(Dn dn, Object... avas)Creates a LdifEntry using a list of strings representing the Ldif element -
Uses of LdapInvalidAttributeValueException in org.apache.directory.api.ldap.model.name
Methods in org.apache.directory.api.ldap.model.name that throw LdapInvalidAttributeValueException Modifier and Type Method Description intAva. deserialize(byte[] buffer, int pos)Deserialize an AVA from a byte[], starting at a given positionintRdn. deserialize(byte[] buffer, int pos)Deserialize a RDN from a byte[], starting at a given positionConstructors in org.apache.directory.api.ldap.model.name that throw LdapInvalidAttributeValueException Constructor Description Rdn(String upType, String upValue)A constructor that constructs a Rdn from a type and a value.Rdn(SchemaManager schemaManager, String upType, String upValue)A constructor that constructs a schema aware Rdn from a type and a value. -
Uses of LdapInvalidAttributeValueException in org.apache.directory.api.ldap.schema.loader
Methods in org.apache.directory.api.ldap.schema.loader that throw LdapInvalidAttributeValueException Modifier and Type Method Description AttributeTypeSchemaEntityFactory. getAttributeType(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Construct an AttributeType from an entry representing an AttributeType.MatchingRuleSchemaEntityFactory. getMatchingRule(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)Construct an MatchingRule from an entry get from the DitLdapSyntaxSchemaEntityFactory. getSyntax(SchemaManager schemaManager, Entry entry, Registries targetRegistries, String schemaName)
-