org.sapia.archie.jndi
Class JndiNamingEnum
java.lang.Object
org.sapia.archie.jndi.JndiNamingEnum
- All Implemented Interfaces:
- java.util.Enumeration, javax.naming.NamingEnumeration
public class JndiNamingEnum
- extends java.lang.Object
- implements javax.naming.NamingEnumeration
- Author:
- Yanick Duchesne
- Copyright:
- Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
- License:
- Read the license.txt file of the jar or visit the
license page at the Sapia OSS web site
|
Constructor Summary |
JndiNamingEnum(java.util.Iterator entries,
java.util.Iterator childNodes,
int listType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST_OBJECTS
public static final int LIST_OBJECTS
- See Also:
- Constant Field Values
LIST_BINDINGS
public static final int LIST_BINDINGS
- See Also:
- Constant Field Values
LIST_NAMECLASS_PAIRS
public static final int LIST_NAMECLASS_PAIRS
- See Also:
- Constant Field Values
_entries
protected java.util.Iterator _entries
_childNodes
protected java.util.Iterator _childNodes
_listType
protected int _listType
JndiNamingEnum
public JndiNamingEnum(java.util.Iterator entries,
java.util.Iterator childNodes,
int listType)
close
public void close()
throws javax.naming.NamingException
- Specified by:
close in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException- See Also:
NamingEnumeration.close()
hasMore
public boolean hasMore()
throws javax.naming.NamingException
- Specified by:
hasMore in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException- See Also:
NamingEnumeration.hasMore()
next
public java.lang.Object next()
throws javax.naming.NamingException
- Specified by:
next in interface javax.naming.NamingEnumeration
- Throws:
javax.naming.NamingException- See Also:
NamingEnumeration.next()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface java.util.Enumeration
- See Also:
Enumeration.hasMoreElements()
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement in interface java.util.Enumeration
- See Also:
Enumeration.nextElement()
toBinding
protected javax.naming.Binding toBinding(Entry entry)
toBinding
protected javax.naming.Binding toBinding(Node node)
newJndiContext
protected javax.naming.Context newJndiContext(Node node)
Copyright © 2010 Sapia OSS. All Rights Reserved.