|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pkrete.jsip2.variables.AlertTypeFactory
public class AlertTypeFactory
This class generates AlertType objects based on the alert code. This class implements the Singleton design pattern, which means that only one instance is created at run time.
| Method Summary | |
|---|---|
AlertType |
getAlertType(String code)
Returns the alert type that matches the given code. |
static AlertTypeFactory |
getInstance()
Returns a reference to the singleton object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AlertTypeFactory getInstance()
public AlertType getAlertType(String code)
throws InvalidSIP2ResponseValueException
code - alert type code
InvalidSIP2ResponseValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||