Package org.jitterbit.integration.ldap.structure

Examples of org.jitterbit.integration.ldap.structure.AttributeSyntaxInfo


        private void addAttribute(ObjectClassStructureBuilder parent, String name, AttributeUse use,
                        AttributeCardinality cardinality) {
            LdapStructureAttributeBuilder builder = new LdapStructureAttributeBuilder();
            builder.setOid(new NumericOid("1.2.3.4.5"));
            builder.setName(name);
            builder.setSyntaxInfo(new AttributeSyntaxInfo() {

                @Override
                public AttributeDataType getDataType() {
                    return AttributeDataType.STRING;
                }
View Full Code Here


            }
        }
       
        private void getSyntax(Attributes attrs, LdapStructureAttributeBuilder builder) throws NamingException {
            String syntax = JndiUtils.getSingleStringAttributeValue(attrs, "SYNTAX", "");
            AttributeSyntaxInfo info = syntaxMapper.fromSyntax(syntax);
            builder.setSyntaxInfo(info);
        }
View Full Code Here

        }
    };

    @Override
    public AttributeSyntaxInfo fromSyntax(String syntax) {
        AttributeSyntaxInfo info = infos.get(syntax);
        return (info != null) ? info : new SyntaxInfoImpl(syntax, "", AttributeDataType.UNKNOWN);
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.ldap.structure.AttributeSyntaxInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.