class DirContextAdapter implements DirContextOperations {

	@Override
	public String[] getStringAttributes(String name) {
		try {
            List<String> objects = collectAttributeValuesAsList(name, String.class);
            return objects.toArray(new String[objects.size()]);
		}
		catch (NoSuchAttributeException e) {
			// The attribute does not exist - contract says to return null.
			return null;
		}
	}

	public  DirContextAdapter();
	public  DirContextAdapter(String dnString);
	public  DirContextAdapter(Name dn);
	public  DirContextAdapter(Attributes attrs, Name dn);
	public  DirContextAdapter(Attributes attrs, Name dn, Name base);
	public  DirContextAdapter(Attributes attrs, Name dn, Name base,
			String referralUrl);
	protected  DirContextAdapter(DirContextAdapter master);

}