|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.util.AbstractXmlObject
com.waveset.object.Answer
A class used to hold the answers to the authentication questions defined in the effective policy for this user. This was originally an inner class of WSUser. It was pulled out, so that it could be shared with SPE.
Field Summary | |
static java.lang.String |
EL_ANSWER
|
Fields inherited from class com.waveset.util.AbstractXmlObject |
_trace, code_id |
Constructor Summary | |
Answer(org.w3c.dom.Element e)
Create an answer by parsing its DOM representation. |
|
Answer(java.lang.String id,
EncryptedData answer,
java.lang.String loginInterface)
Create an answer. |
|
Answer(java.lang.String id,
java.lang.String answer,
java.lang.String loginInterface)
Create an answer. |
Method Summary | |
boolean |
ascii()
Check if ascii answer. |
EncryptedData |
getAnswer()
Get the answer. |
java.lang.String |
getElementName()
Return the element name. |
java.lang.String |
getLoginInterface()
Get the login interface associated with this answer |
java.lang.String |
getQuestionId()
Get the question id. |
java.lang.String |
getSuppliedQuestion()
|
void |
parseXml(org.w3c.dom.Element e)
Parse the DOM representation of the answer, and set the corresponding fields. |
void |
setAnswer(EncryptedData ans)
Change the answer. |
void |
setAscii(boolean ascii)
set if ascii answer or not |
void |
setLoginInterface(java.lang.String loginInterface)
Set the login interface associated with which this answer is associated. |
void |
setSuppliedQuestion(java.lang.String questionString)
|
void |
toXml(java.lang.StringBuffer b,
int indent)
Serialize the answer to an XML string buffer. |
Methods inherited from class com.waveset.util.AbstractXmlObject |
addXmlHeader, cloneObject, dump, dumpFile, getReference, println, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml, toXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String EL_ANSWER
Constructor Detail |
public Answer(java.lang.String id, java.lang.String answer, java.lang.String loginInterface)
public Answer(java.lang.String id, EncryptedData answer, java.lang.String loginInterface)
public Answer(org.w3c.dom.Element e) throws WavesetException
Method Detail |
public java.lang.String getQuestionId()
public EncryptedData getAnswer()
public void setAnswer(EncryptedData ans)
public boolean ascii()
public void setAscii(boolean ascii)
public java.lang.String getLoginInterface()
public void setLoginInterface(java.lang.String loginInterface)
loginInterface
- the login interfacepublic void setSuppliedQuestion(java.lang.String questionString)
public java.lang.String getSuppliedQuestion()
public void toXml(java.lang.StringBuffer b, int indent)
toXml
in interface XmlObject
toXml
in class AbstractXmlObject
public void parseXml(org.w3c.dom.Element e) throws WavesetException
WavesetException
public java.lang.String getElementName()
AbstractXmlObject
getElementName
in interface XmlObject
getElementName
in class AbstractXmlObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |