|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.voms.contact.VOMSResponse
public class VOMSResponse
This class is used to parse and represent VOMS server responses.
Field Summary | |
---|---|
protected org.w3c.dom.Document |
xmlResponse
|
Constructor Summary | |
---|---|
VOMSResponse(org.w3c.dom.Document res)
Builds a VOMSResponse starting from a DOM an XML document (see Document ). |
Method Summary | |
---|---|
VOMSErrorMessage[] |
errorMessages()
Extracts the error messages from the VOMS response. |
byte[] |
getAC()
Extracts the AC from the VOMS response. |
java.lang.String |
getACAsString()
Extracts the AC from the VOMS response. |
byte[] |
getData()
Extracts the textual data from the VOMS response. |
int |
getVersion()
Extracts the version from the VOMS response. |
boolean |
hasErrors()
|
boolean |
hasWarnings()
|
VOMSWarningMessage[] |
warningMessages()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.w3c.dom.Document xmlResponse
Constructor Detail |
---|
public VOMSResponse(org.w3c.dom.Document res)
Document
).
res
- Method Detail |
---|
public boolean hasErrors()
public boolean hasWarnings()
public byte[] getAC()
public byte[] getData()
public int getVersion()
public java.lang.String getACAsString()
public VOMSErrorMessage[] errorMessages()
VOMSErrorMessage
objects.public VOMSWarningMessage[] warningMessages()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |