Package com.netscape.jndi.ldap.schema
Class SchemaElement
java.lang.Object
com.netscape.jndi.ldap.common.DirContextAdapter
com.netscape.jndi.ldap.schema.SchemaDirContext
com.netscape.jndi.ldap.schema.SchemaElement
- All Implemented Interfaces:
Context
,DirContext
- Direct Known Subclasses:
SchemaAttribute
,SchemaMatchingRule
,SchemaObjectClass
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
SchemaDirContext.EmptyNamingEnumeration<T>, SchemaDirContext.SchemaObjectSubordinateNamePair
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) SchemaManager
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
(package private) static final String
Fields inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
ATTRDEF, CLASSDEF, m_path, MRULEDEF
Fields inherited from interface javax.naming.Context
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
Fields inherited from interface javax.naming.directory.DirContext
ADD_ATTRIBUTE, REMOVE_ATTRIBUTE, REPLACE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
getSchemaAttrValue
(Attribute attr) Read a string value for a schema attributeList OperationslistBindings
(String name) listBindings
(Name name) (package private) void
modifySchemaElementAttrs
(Attributes attrs, int modop, Attributes modAttrs) Modify the current set of the schema element's attributes(package private) void
modifySchemaElementAttrs
(Attributes attrs, ModificationItem[] jndiMods) Modify the current set of the schema element's attributes(package private) static boolean
parseTrueFalseValue
(Attribute attr) Parse value for a schema attribute.(package private) static String
syntaxIntToString
(int syntax) Map a syntax identifier to a oid string(package private) static int
syntaxStringToInt
(String syntax) Map a syntax oid string to a constant recognized by LdapJDK(package private) static String[]
Convert string vector to an arrayMethods inherited from class com.netscape.jndi.ldap.schema.SchemaDirContext
bind, bind, close, composeName, composeName, getNameInNamespace, getNameParser, getNameParser, rebind, rebind, rename, rename, unbind, unbind
Methods inherited from class com.netscape.jndi.ldap.common.DirContextAdapter
addToEnvironment, bind, bind, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getAttributes, getAttributes, getAttributes, getAttributes, getEnvironment, getSchema, getSchema, getSchemaClassDefinition, getSchemaClassDefinition, lookup, lookup, lookupLink, lookupLink, modifyAttributes, modifyAttributes, modifyAttributes, modifyAttributes, rebind, rebind, removeFromEnvironment, search, search, search, search, search, search, search, search
-
Field Details
-
m_schemaMgr
SchemaManager m_schemaMgr -
NUMERICOID
- See Also:
-
NAME
- See Also:
-
DESC
- See Also:
-
SYNTAX
- See Also:
-
SUP
- See Also:
-
MUST
- See Also:
-
MAY
- See Also:
-
SINGLEVALUE
- See Also:
-
OBSOLETE
- See Also:
-
EQUALITY
- See Also:
-
ORDERING
- See Also:
-
SUBSTRING
- See Also:
-
COLLECTIVE
- See Also:
-
NOUSERMOD
- See Also:
-
USAGE
- See Also:
-
ABSTRACT
- See Also:
-
STRUCTURAL
- See Also:
-
AUXILIARY
- See Also:
-
cisString
- See Also:
-
binaryString
- See Also:
-
telephoneString
- See Also:
-
cesString
- See Also:
-
intString
- See Also:
-
dnString
- See Also:
-
-
Constructor Details
-
SchemaElement
SchemaElement(SchemaManager schemaMgr)
-
-
Method Details
-
syntaxStringToInt
Map a syntax oid string to a constant recognized by LdapJDK- Throws:
NamingException
-
syntaxIntToString
Map a syntax identifier to a oid string- Throws:
NamingException
-
vectorToStringAry
Convert string vector to an array -
list
List Operations- Specified by:
list
in interfaceContext
- Overrides:
list
in classDirContextAdapter
- Throws:
NamingException
-
list
- Specified by:
list
in interfaceContext
- Overrides:
list
in classDirContextAdapter
- Throws:
NamingException
-
listBindings
- Specified by:
listBindings
in interfaceContext
- Overrides:
listBindings
in classDirContextAdapter
- Throws:
NamingException
-
listBindings
- Specified by:
listBindings
in interfaceContext
- Overrides:
listBindings
in classDirContextAdapter
- Throws:
NamingException
-
modifySchemaElementAttrs
Modify the current set of the schema element's attributes- Throws:
NamingException
-
modifySchemaElementAttrs
void modifySchemaElementAttrs(Attributes attrs, int modop, Attributes modAttrs) throws NamingException Modify the current set of the schema element's attributes- Throws:
NamingException
-
parseTrueFalseValue
Parse value for a schema attribute. Return true if the value is "true", return false if the value is "false" or absent- Throws:
NamingException
-
getSchemaAttrValue
Read a string value for a schema attribute- Throws:
NamingException
-