public class VOMSResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Document |
xmlResponse |
Constructor and Description |
---|
VOMSResponse(org.w3c.dom.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.
|
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() |
public VOMSResponse(org.w3c.dom.Document res)
Document
).res
- 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()
Copyright © 2013. All Rights Reserved.