public final class Dsmlv1 extends AbstractDsml
Dsmlv1 contains functions for converting LDAP search result sets
into DSML version 1.beanFactory, logger| Constructor and Description |
|---|
Dsmlv1()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Document |
createDsml(Iterator<SearchResult> results)
This will take the results of a prior LDAP query and convert it to a DSML
Document. |
org.dom4j.Document |
createDsml(LdapResult result)
This will take the results of a prior LDAP query and convert it to a DSML
Document. |
protected List<org.dom4j.Element> |
createDsmlAttributes(LdapAttributes ldapAttributes,
org.dom4j.Namespace ns)
This will return a list of DSML attribute elements from the supplied
LdapAttributes. |
protected LdapEntry |
createLdapEntry(org.dom4j.Element entryElement)
This will take a DSML
Element containing an entry of type
|
LdapResult |
createLdapResult(org.dom4j.Document doc)
This will take a DSML
Document and convert it to an
LdapResult. |
Iterator<SearchResult> |
createSearchResults(org.dom4j.Document doc)
This will take a DSML
Document and convert it to an Iterator
of LDAP search results. |
createDsmlAttribute, createDsmlEntry, getLdapBeanFactory, importDsml, importDsmlToLdapResult, outputDsml, outputDsml, setLdapBeanFactorypublic org.dom4j.Document createDsml(Iterator<SearchResult> results)
Document.createDsml in class AbstractDsmlresults - Iterator of LDAP search resultsDocumentpublic org.dom4j.Document createDsml(LdapResult result)
Document.createDsml in class AbstractDsmlresult - LdapResultDocumentprotected List<org.dom4j.Element> createDsmlAttributes(LdapAttributes ldapAttributes, org.dom4j.Namespace ns)
LdapAttributes.createDsmlAttributes in class AbstractDsmlldapAttributes - LdapAttributesns - Namespace of DSMLList of elementspublic Iterator<SearchResult> createSearchResults(org.dom4j.Document doc)
Document and convert it to an Iterator
of LDAP search results.doc - Document of DSMLIterator - of LDAP search resultspublic LdapResult createLdapResult(org.dom4j.Document doc)
Document and convert it to an
LdapResult.createLdapResult in class AbstractDsmldoc - Document of DSMLLdapResultprotected LdapEntry createLdapEntry(org.dom4j.Element entryElement)
Element containing an entry of type
createLdapEntry in class AbstractDsmlentryElement - Element of DSML contentLdapEntryCopyright © 2014. All rights reserved.