Package org.sblim.slp.internal.ua
Class SLEnumerationImpl
- java.lang.Object
-
- org.sblim.slp.internal.ua.SLEnumerationImpl
-
- All Implemented Interfaces:
java.util.Enumeration
,ServiceLocationEnumeration
public class SLEnumerationImpl extends java.lang.Object implements ServiceLocationEnumeration
SLEnumerationImpl
-
-
Constructor Summary
Constructors Constructor Description SLEnumerationImpl(RequestMessage pReqMsg, java.util.List pDAList)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
SLEnumerationImpl
public SLEnumerationImpl(RequestMessage pReqMsg, java.util.List pDAList)
Ctor.- Parameters:
pReqMsg
-pDAList
-
-
-
Method Detail
-
next
public java.lang.Object next() throws java.util.NoSuchElementException
This implementation can throw RuntimeExceptions. They can be ignored or used for analysis.- Specified by:
next
in interfaceServiceLocationEnumeration
- Returns:
- The next value
- Throws:
java.util.NoSuchElementException
- If there are no more elements to return.- See Also:
ServiceLocationEnumeration.next()
-
nextException
public java.lang.Object nextException() throws java.util.NoSuchElementException
- Specified by:
nextException
in interfaceServiceLocationEnumeration
- Returns:
- next Object in Exception table
- Throws:
java.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 table
-
hasMoreExceptions
public boolean hasMoreExceptions()
- Specified by:
hasMoreExceptions
in interfaceServiceLocationEnumeration
- Returns:
- true if there exists another element in Exception table
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interfacejava.util.Enumeration
-
nextElement
public java.lang.Object nextElement() throws java.util.NoSuchElementException
- Specified by:
nextElement
in interfacejava.util.Enumeration
- Throws:
java.util.NoSuchElementException
-
getPort
public int getPort()
For diagnostic only!- Returns:
- int
-
-