|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.common.ldap.container.map.BasicLdapMapping
public abstract class BasicLdapMapping
Support for some basic ldap to rdf mapping rules:
| Constructor Summary | |
|---|---|
BasicLdapMapping(javax.naming.ldap.LdapName orgDn,
java.net.URI uri,
java.net.URI graphUri)
|
|
| Method Summary | |
|---|---|
AttributeBinding |
createBinding(BasicEntrySet entrySet,
java.lang.String attribute,
java.net.URI uri,
ValueTransform valueBinding)
|
java.util.Set<java.lang.String> |
getAllAttributes(java.net.URI uri)
Gets all the attributes mapped to the given URI. |
java.util.List<? extends AttributeBinding> |
getAttributeBinding(java.lang.String attribute,
java.lang.String dn)
Gets the attribute bindings for the given attribute and entry set identified by the given Ldap DN. |
BlankNodeIndex |
getBlankNodeIndex()
|
EntrySet |
getEntrySet(java.lang.String dn)
Gets the entry set for the provided DN. |
java.util.List<EntrySet> |
getEntrySets()
Gets the entry sets the mapping uses. |
java.net.URI |
getGraphUri()
Gets the named graph uri for this mapping. |
javax.naming.Name |
toDistinguishedName(TriplePatternComponent term)
Map an RDF term or blank node to an Ldap DN, or, if term is ambiguous or matches multiple results return null. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicLdapMapping(javax.naming.ldap.LdapName orgDn,
java.net.URI uri,
java.net.URI graphUri)
| Method Detail |
|---|
public BlankNodeIndex getBlankNodeIndex()
getBlankNodeIndex in interface LdapMappingpublic java.net.URI getGraphUri()
LdapMapping
getGraphUri in interface LdapMappingpublic java.util.List<EntrySet> getEntrySets()
LdapMapping
getEntrySets in interface LdapMappingpublic java.util.Set<java.lang.String> getAllAttributes(java.net.URI uri)
LdapMapping
getAllAttributes in interface LdapMappinguri - URI to map.
public java.util.List<? extends AttributeBinding> getAttributeBinding(java.lang.String attribute,
java.lang.String dn)
LdapMapping
getAttributeBinding in interface LdapMappingattribute - Attribute to find bindings for.dn - Ldap DN
public javax.naming.Name toDistinguishedName(TriplePatternComponent term)
LdapMappingEntrySet.toSubject(String, AttributeBinding, String) back to the DNs
provided as input. I.e. it must be inversely functional.
toDistinguishedName in interface LdapMappingterm - RDF term or blank node to map to Ldap DN.
public EntrySet getEntrySet(java.lang.String dn)
LdapMapping
getEntrySet in interface LdapMappingdn - LDAP DN.
public AttributeBinding createBinding(BasicEntrySet entrySet,
java.lang.String attribute,
java.net.URI uri,
ValueTransform valueBinding)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||