public class MetaExtractService
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
baseUrl |
protected java.lang.String |
METHOD |
protected java.lang.String |
password |
protected java.lang.String |
QUERY_TYPE |
protected java.lang.String |
username |
Constructor and Description |
---|
MetaExtractService(java.lang.String username,
java.lang.String password)
Constructor for the MetaExtractService object
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getErrorMsg(org.dom4j.Element errorElement)
Gets the errorMsg attribute of the MetaExtractService object
|
protected java.lang.String |
getMethod() |
org.dom4j.Document |
getResponse(java.lang.String href)
Submit a request to the CAT service and return the response as a Document
|
static void |
main(java.lang.String[] args) |
protected static void |
pp(org.dom4j.Node node)
Description of the Method
|
protected final java.lang.String baseUrl
protected final java.lang.String METHOD
protected final java.lang.String QUERY_TYPE
protected java.lang.String username
protected java.lang.String password
public MetaExtractService(java.lang.String username, java.lang.String password)
username
- NOT YET DOCUMENTEDpassword
- NOT YET DOCUMENTEDprotected java.lang.String getMethod()
public org.dom4j.Document getResponse(java.lang.String href) throws java.lang.Exception
contraints
- query parameters as key/value pairsjava.lang.Exception
- NOT YET DOCUMENTEDprotected java.lang.String getErrorMsg(org.dom4j.Element errorElement)
errorElement
- NOT YET DOCUMENTEDpublic static void main(java.lang.String[] args)
protected static void pp(org.dom4j.Node node)
node
- Description of the Parameter