org.glite.voms.contact
Class VOMSParser

java.lang.Object
  extended by org.glite.voms.contact.VOMSParser

public class VOMSParser
extends java.lang.Object

This class implements the XML parsing of responses produced by VOMS servers.

Author:
Andrea Ceccanti

Field Summary
protected  javax.xml.parsers.DocumentBuilder docBuilder
           
 
Method Summary
static VOMSParser instance()
           
 VOMSResponse parseResponse(java.io.InputStream is)
          Parses a voms response reading from a given input stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docBuilder

protected javax.xml.parsers.DocumentBuilder docBuilder
Method Detail

parseResponse

public VOMSResponse parseResponse(java.io.InputStream is)
Parses a voms response reading from a given input stream.

Parameters:
is - the input stream.
Returns:
a VOMSResponse object that represents the parsed response.

instance

public static VOMSParser instance()
Returns:
a new VOMSParser instance.


Copyright © 2012. All Rights Reserved.