DLESE Tools
v1.6.0

org.dlese.dpc.serviceclients.metaextract
Class MetaExtractService

java.lang.Object
  extended by org.dlese.dpc.serviceclients.metaextract.MetaExtractService

public class MetaExtractService
extends Object

Author:
Jonathan Ostwald

Field Summary
protected  String baseUrl
           
protected  String METHOD
           
protected  String password
           
protected  String QUERY_TYPE
           
protected  String username
           
 
Constructor Summary
MetaExtractService(String username, String password)
          Constructor for the MetaExtractService object
 
Method Summary
protected  String getErrorMsg(Element errorElement)
          Gets the errorMsg attribute of the MetaExtractService object
protected  String getMethod()
           
 Document getResponse(String href)
          Submit a request to the CAT service and return the response as a Document
static void main(String[] args)
           
protected static void pp(Node node)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseUrl

protected final String baseUrl
See Also:
Constant Field Values

METHOD

protected final String METHOD
See Also:
Constant Field Values

QUERY_TYPE

protected final String QUERY_TYPE
See Also:
Constant Field Values

username

protected String username

password

protected String password
Constructor Detail

MetaExtractService

public MetaExtractService(String username,
                          String password)
Constructor for the MetaExtractService object

Parameters:
username - NOT YET DOCUMENTED
password - NOT YET DOCUMENTED
Method Detail

getMethod

protected String getMethod()

getResponse

public Document getResponse(String href)
                     throws Exception
Submit a request to the CAT service and return the response as a Document

Parameters:
contraints - query parameters as key/value pairs
Returns:
The response value
Throws:
Exception - NOT YET DOCUMENTED

getErrorMsg

protected String getErrorMsg(Element errorElement)
Gets the errorMsg attribute of the MetaExtractService object

Parameters:
errorElement - NOT YET DOCUMENTED
Returns:
The errorMsg value

main

public static void main(String[] args)

pp

protected static void pp(Node node)
Description of the Method

Parameters:
node - Description of the Parameter

DLESE Tools
v1.6.0