public class LegacyVOMSResponse extends Object implements VOMSResponse
| Modifier and Type | Field and Description |
|---|---|
protected Document |
xmlResponse |
| Constructor and Description |
|---|
LegacyVOMSResponse(Document res)
Builds a VOMSResponse starting from a DOM an XML document (see
Document). |
| Modifier and Type | Method and Description |
|---|---|
VOMSErrorMessage[] |
errorMessages()
Extracts the error messages from the VOMS response.
|
byte[] |
getAC()
Extracts the AC from the VOMS response.
|
int |
getVersion()
Extracts the version from the VOMS response.
|
String |
getXMLAsString() |
boolean |
hasErrors() |
boolean |
hasWarnings() |
VOMSWarningMessage[] |
warningMessages()
Extracts the warning messags from the VOMS response.
|
protected Document xmlResponse
public int getVersion()
VOMSResponsegetVersion in interface VOMSResponsepublic boolean hasErrors()
hasErrors in interface VOMSResponsetrue if this VOMSResponse has errors,
false otherwisepublic boolean hasWarnings()
hasWarnings in interface VOMSResponsetrue if this VOMSResponse has warnings,
false otherwisepublic byte[] getAC()
VOMSResponsegetAC in interface VOMSResponsepublic VOMSErrorMessage[] errorMessages()
VOMSResponseerrorMessages in interface VOMSResponseVOMSErrorMessage objects.public VOMSWarningMessage[] warningMessages()
VOMSResponsewarningMessages in interface VOMSResponseVOMSWarningMessage objects.public String getXMLAsString()
getXMLAsString in interface VOMSResponseCopyright © 2014. All rights reserved.