org.apache.directory.shared.ldap.schema
Interface SyntaxChecker
- All Known Implementing Classes:
- AbstractSyntaxChecker, AcceptAllSyntaxChecker, AccessPointSyntaxChecker, ACIItemSyntaxChecker, AttributeTypeDescriptionSyntaxChecker, AttributeTypeUsageSyntaxChecker, AudioSyntaxChecker, BinarySyntaxChecker, BitStringSyntaxChecker, BooleanSyntaxChecker, CertificateListSyntaxChecker, CertificatePairSyntaxChecker, CertificateSyntaxChecker, ComparatorSyntaxChecker, CountrySyntaxChecker, CsnSidSyntaxChecker, CsnSyntaxChecker, DataQualitySyntaxSyntaxChecker, DeliveryMethodSyntaxChecker, DirectoryStringSyntaxChecker, DITContentRuleDescriptionSyntaxChecker, DITStructureRuleDescriptionSyntaxChecker, DLSubmitPermissionSyntaxChecker, DNSyntaxChecker, DSAQualitySyntaxSyntaxChecker, DSETypeSyntaxChecker, EnhancedGuideSyntaxChecker, FacsimileTelephoneNumberSyntaxChecker, FaxSyntaxChecker, GeneralizedTimeSyntaxChecker, GuideSyntaxChecker, Ia5StringSyntaxChecker, IntegerSyntaxChecker, JavaByteSyntaxChecker, JavaIntegerSyntaxChecker, JavaLongSyntaxChecker, JavaShortSyntaxChecker, JpegSyntaxChecker, LdapSyntaxDescriptionSyntaxChecker, MailPreferenceSyntaxChecker, MasterAndShadowAccessPointSyntaxChecker, MatchingRuleDescriptionSyntaxChecker, MatchingRuleUseDescriptionSyntaxChecker, MHSORAddressSyntaxChecker, NameAndOptionalUIDSyntaxChecker, NameFormDescriptionSyntaxChecker, NormalizerSyntaxChecker, NumberSyntaxChecker, NumericOidSyntaxChecker, NumericStringSyntaxChecker, ObjectClassDescriptionSyntaxChecker, ObjectClassTypeSyntaxChecker, ObjectNameSyntaxChecker, OctetStringSyntaxChecker, OidLenSyntaxChecker, OidSyntaxChecker, OtherMailboxSyntaxChecker, PostalAddressSyntaxChecker, PresentationAddressSyntaxChecker, PrintableStringSyntaxChecker, ProtocolInformationSyntaxChecker, RegexSyntaxChecker, SubstringAssertionSyntaxChecker, SubtreeSpecificationSyntaxChecker, SupplierAndConsumerSyntaxChecker, SupplierInformationSyntaxChecker, SupplierOrConsumerSyntaxChecker, SupportedAlgorithmSyntaxChecker, SyntaxCheckerSyntaxChecker, TelephoneNumberSyntaxChecker, TeletexTerminalIdentifierSyntaxChecker, TelexNumberSyntaxChecker, UtcTimeSyntaxChecker, UuidSyntaxChecker
public interface SyntaxChecker
Used to validate values of a particular syntax. This interface does not
correlate to any LDAP or X.500 construct. It has been created as a means to
enforce a syntax within the Eve server.
- Version:
- $Rev: 736240 $, $Date: 2009-01-21 07:33:48 +0100 (Mer, 21 jan 2009) $
- Author:
- Apache Directory Project
|
Method Summary |
void |
assertSyntax(java.lang.Object value)
Asserts whether or not the attribute's value conforms to the attribute
syntax. |
java.lang.String |
getSyntaxOid()
Gets the OID of the attribute syntax. |
boolean |
isValidSyntax(java.lang.Object value)
Determines if the attribute's value conforms to the attribute syntax. |
getSyntaxOid
java.lang.String getSyntaxOid()
- Gets the OID of the attribute syntax.
- Returns:
- the object identifier of the Syntax this SyntaxChecker validates
isValidSyntax
boolean isValidSyntax(java.lang.Object value)
- Determines if the attribute's value conforms to the attribute syntax.
- Parameters:
value - the value of some attribute with the syntax
- Returns:
- true if the value is in the valid syntax, false otherwise
assertSyntax
void assertSyntax(java.lang.Object value)
throws javax.naming.NamingException
- Asserts whether or not the attribute's value conforms to the attribute
syntax.
- Parameters:
value - the value of some attribute with the syntax
- Throws:
javax.naming.NamingException - if the value does not conform to the attribute syntax.
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.