public class TableAccessProtocol extends PropertyContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
TableAccessProtocol.Exe |
static class |
TableAccessProtocol.Finished |
static class |
TableAccessProtocol.Parameter |
| Modifier and Type | Field and Description |
|---|---|
private DocumentBuilderFactory |
build
The document builder factory used by this TAP.
|
static String |
CONTENT_TYPE |
private static String |
DEFASYNC |
private static String |
DEFAVAIL |
private static String |
DEFCAPABILITIES |
private static String |
DEFEXAMPLES |
private static String |
DEFSYNC |
private static String |
DEFTABLES |
static String |
KEY_ASYNC |
static String |
KEY_AVAIL |
static String |
KEY_BASEURL |
static String |
KEY_CAPABILITIES |
static String |
KEY_EXAMPLES |
static String |
KEY_EXPAND |
static String |
KEY_IGNOREWHITESPACE |
static String |
KEY_NAMESPACE |
static String |
KEY_SYNC |
static String |
KEY_TABLES |
static String |
KEY_VALIDATE |
static String |
PHASE |
private static String |
POST |
static String |
REQUEST |
static String |
REQUEST_DO_QUERY |
static String |
TAPVIZIER |
(package private) static String |
UTF_8 |
(package private) static String |
VIZIER_BIGCAT |
(package private) static String |
VIZIER_URL |
static String |
VOTABLE |
private static String |
WWW_FORM_URLENCODED |
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
TableAccessProtocol(Map<String,String> info) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getAsyncURL() |
URL |
getAvailablilityURL() |
URL |
getBaseURL() |
URL |
getCapabilitiesURL() |
Map<Object,Object> |
getDefaultParameters() |
(package private) DocumentBuilder |
getDocumentParser() |
URL |
getExamplesURL() |
Map<Object,Object> |
getRequestParameters() |
URL |
getSyncURL() |
(package private) Element |
getTableElement(Document votable) |
URL |
getTablesURL() |
(package private) VizierTable |
getVizierTable(Element vot) |
static TableAccessProtocol |
getVizierTAP() |
private DocumentBuilderFactory |
initDocumentBuilderFactory() |
(package private) InputStream |
post(URL tapquery,
Map<Object,Object> query) |
(package private) String |
queryFragment(Map<Object,Object> name2val)
Creates an ampersand separated query fragment from the provided
name-to-value mapping.
|
(package private) Document |
read(InputSource in) |
VizierTable |
syncQuery(Map<Object,Object> para) |
augment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringstatic final String UTF_8
private static final String WWW_FORM_URLENCODED
public static final String CONTENT_TYPE
private static final String POST
public static final String KEY_BASEURL
public static final String KEY_SYNC
public static final String KEY_ASYNC
public static final String KEY_TABLES
public static final String KEY_CAPABILITIES
public static final String KEY_AVAIL
public static final String KEY_EXAMPLES
public static final String KEY_VALIDATE
public static final String KEY_IGNOREWHITESPACE
public static final String KEY_EXPAND
public static final String KEY_NAMESPACE
private static final String DEFSYNC
private static final String DEFASYNC
private static final String DEFTABLES
private static final String DEFCAPABILITIES
private static final String DEFAVAIL
private static final String DEFEXAMPLES
public static final String REQUEST
public static final String REQUEST_DO_QUERY
public static final String PHASE
public static final String VOTABLE
static final String VIZIER_URL
static final String VIZIER_BIGCAT
public static final String TAPVIZIER
private DocumentBuilderFactory build
public URL getBaseURL() throws MalformedURLException
MalformedURLExceptionpublic URL getSyncURL() throws MalformedURLException
MalformedURLExceptionpublic URL getAsyncURL() throws MalformedURLException
MalformedURLExceptionpublic URL getTablesURL() throws MalformedURLException
MalformedURLExceptionpublic URL getCapabilitiesURL() throws MalformedURLException
MalformedURLExceptionpublic URL getAvailablilityURL() throws MalformedURLException
MalformedURLExceptionpublic URL getExamplesURL() throws MalformedURLException
MalformedURLExceptionpublic static final TableAccessProtocol getVizierTAP()
public VizierTable syncQuery(Map<Object,Object> para) throws IOException, SAXException
IOExceptionSAXExceptionInputStream post(URL tapquery, Map<Object,Object> query) throws IOException
IOExceptionDocument read(InputSource in) throws ParserConfigurationException, SAXException, IOException
Element getTableElement(Document votable) throws SAXException
SAXExceptionVizierTable getVizierTable(Element vot)
String queryFragment(Map<Object,Object> name2val) throws UnsupportedEncodingException
UnsupportedEncodingExceptionDocumentBuilder getDocumentParser() throws ParserConfigurationException
ParserConfigurationExceptionprivate DocumentBuilderFactory initDocumentBuilderFactory()