|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.Extension.IQAuthBuilder
IQAuthBuilder
is the class used for building an
IQAuth Extension.
ExtensionBuilder
,
IQAuth
Constructor Summary | |
IQAuthBuilder()
Creates a new IQAuthBuilder instance. |
Method Summary | |
Extension |
build()
build generates a new extension object based on the
information stored in this class. |
java.lang.String |
getPassword()
gets the password. |
java.lang.String |
getResource()
gets the current resource. |
java.lang.String |
getSHA1Digest()
get the current value of the SHA1 Digest field. |
java.lang.String |
getUsername()
returns the current username |
java.lang.String |
getZeroKHash()
|
int |
getZeroKSequence()
|
java.lang.String |
getZeroKToken()
|
void |
reset()
reset restores the variables to their default state, so
that this builder may be reused. |
void |
setPassword(java.lang.String password)
sets the password. |
void |
setResource(java.lang.String res)
sets the resource. |
void |
setSHA1Digest(java.lang.String sha1)
set the current value of the SHA1 digest field. |
void |
setUsername(java.lang.String username)
sets the current username. |
void |
setZeroKHash(java.lang.String hash)
|
void |
setZeroKSequence(int sequence)
|
void |
setZeroKToken(java.lang.String token)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IQAuthBuilder()
IQAuthBuilder
instance.
Method Detail |
public void reset()
reset
restores the variables to their default state, so
that this builder may be reused.
reset
in interface ExtensionBuilder
public java.lang.String getUsername()
String
value, or null if nonepublic void setUsername(java.lang.String username)
username
- a String
value, or null to clearpublic java.lang.String getResource()
String
value, or null if blankpublic void setResource(java.lang.String res)
res
- a String
value, or null to clearpublic java.lang.String getPassword()
String
value, or null if blankpublic void setPassword(java.lang.String password)
password
- a String
value, or null to clearpublic java.lang.String getSHA1Digest()
String
value, or null if blankpublic void setSHA1Digest(java.lang.String sha1)
sha1
- a String
value, or null to clearpublic java.lang.String getZeroKHash()
public void setZeroKHash(java.lang.String hash)
public java.lang.String getZeroKToken()
public void setZeroKToken(java.lang.String token)
public int getZeroKSequence()
public void setZeroKSequence(int sequence)
public Extension build() throws java.lang.InstantiationException
build
generates a new extension object based on the
information stored in this class.
build
in interface ExtensionBuilder
Extension
value
java.lang.InstantiationException
- if insufficient or malformed
information was provided
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |