org.sblim.slp.internal.ua
public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
| Constructor and Description |
|---|
SLEnumerationImpl(RequestMessage pReqMsg,
java.util.List pDAList)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPort()
For diagnostic only!
|
boolean |
hasMoreElements() |
boolean |
hasMoreExceptions() |
java.lang.Object |
next()
This implementation can throw RuntimeExceptions.
|
java.lang.Object |
nextElement() |
java.lang.Object |
nextException() |
public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List pDAList)
pReqMsg - pDAList - public java.lang.Object next()
throws java.util.NoSuchElementException
next in interface ServiceLocationEnumerationjava.util.NoSuchElementException - If there are no more elements to return.ServiceLocationEnumeration.next()public java.lang.Object nextException()
throws java.util.NoSuchElementException
nextException in interface ServiceLocationEnumerationjava.util.NoSuchElementException - This in internal implementation to get list of all exceptions thrown/caught by parser
This can throw RuntimeExceptions. They can be ignored or used for analysis.
use hasNextException to check whether there exists another element in Exception tablepublic boolean hasMoreExceptions()
hasMoreExceptions in interface ServiceLocationEnumerationpublic boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
throws java.util.NoSuchElementException
nextElement in interface java.util.Enumerationjava.util.NoSuchElementExceptionpublic int getPort()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.