gldapo
Class GldapoTypeMappingRegistry
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList
gldapo.GldapoTypeMappingRegistry
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, Deque, List, Queue
public class GldapoTypeMappingRegistry
- extends LinkedList
Holds the global type mappings to convert values to and from LDAP and Java
- See Also:
Gldapo.getTypemappings(),
Serialized Form
| Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray |
GldapoTypeMappingRegistry
public GldapoTypeMappingRegistry()
- Installs
DefaultTypeMappings into the registry.
installDefaults
public void installDefaults()
getToGroovyMapperForType
public Object getToGroovyMapperForType(String type)
- Returns a closure that can be used to convert a LDAP value to a particular type.
Uses AbstractAttributeMapping.toGroovyByTypeMapperName(String) to calculate the name of the
suitable mapping method
getToLdapMapperForType
public Object getToLdapMapperForType(String type)
- Returns a closure that can be used to convert a groovy value to an LDAP value (string)
Uses AbstractAttributeMapping.toLdapByTypeMapperName(String) to calculate the name of the
suitable mapping method
findMapper
public Object findMapper(String mapperName,
Class[] argTypes)
clear
public void clear()
- Specified by:
clear in interface Collection- Specified by:
clear in interface List- Overrides:
clear in class LinkedList
getMetaClass
public MetaClass getMetaClass()
setMetaClass
public void setMetaClass(MetaClass metaClass)
invokeMethod
public Object invokeMethod(String name,
Object args)
getProperty
public Object getProperty(String name)
setProperty
public void setProperty(String name,
Object value)
Copyright © 2007-2010 Codehaus. All Rights Reserved.