|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LdapMapping
Provides mapping information for LdapSolutionGenerator. See EntrySet and AttributeBinding for details. Dictates how Ldap data will be mapped to RDF.
| Method Summary | |
|---|---|
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 distinguishedName)
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 subject)
Map an RDF term or blank node to an Ldap DN, or, if term is ambiguous or matches multiple results return null. |
| Method Detail |
|---|
java.net.URI getGraphUri()
java.util.List<EntrySet> getEntrySets()
java.util.Set<java.lang.String> getAllAttributes(java.net.URI uri)
uri - URI to map.
java.util.List<? extends AttributeBinding> getAttributeBinding(java.lang.String attribute,
java.lang.String dn)
attribute - Attribute to find bindings for.dn - Ldap DN
EntrySet getEntrySet(java.lang.String distinguishedName)
distinguishedName - LDAP DN.
javax.naming.Name toDistinguishedName(TriplePatternComponent subject)
EntrySet.toSubject(String, AttributeBinding, String) back to the DNs
provided as input. I.e. it must be inversely functional.
subject - RDF term or blank node to map to Ldap DN.
BlankNodeIndex getBlankNodeIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||