edu.harvard.cfa.vo.tapclient.vosi
Class Language

java.lang.Object
  extended by edu.harvard.cfa.vo.tapclient.vosi.Language

public class Language
extends java.lang.Object

Information about query languages supported by TAP services. This includes language name, version, description, and supported features.


Method Summary
 java.lang.String getDescription()
          A language description
 java.util.List<LanguageFeatures> getLanguageFeatures()
          Returns a list of language features supported by the service for this language.
 java.lang.String getName()
          The language name
 java.util.List<Version> getVersions()
          Returns a list of versions supported by the service for this language.
 void list(java.io.PrintStream output)
          Write this Languae to the PrintStream
 void list(java.io.PrintStream output, java.lang.String indent)
          Write this Languae to the PrintStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
The language name

Returns:
the language name

getVersions

public java.util.List<Version> getVersions()
Returns a list of versions supported by the service for this language.

Returns:
the Version list

getDescription

public java.lang.String getDescription()
A language description

Returns:
description

getLanguageFeatures

public java.util.List<LanguageFeatures> getLanguageFeatures()
Returns a list of language features supported by the service for this language.

Returns:
the languageFeatures list

list

public void list(java.io.PrintStream output)
Write this Languae to the PrintStream

Parameters:
output - the PrintStream

list

public void list(java.io.PrintStream output,
                 java.lang.String indent)
Write this Languae to the PrintStream

Parameters:
output - the PrintStream
indent - the indentation to prepend