public class ClassTableScheme extends Object implements TableScheme, Documented
Usage is for example:
class:uk.ac.starlink.table.LoopTableScheme:10
Constructor and Description |
---|
ClassTableScheme() |
Modifier and Type | Method and Description |
---|---|
StarTable |
createTable(String spec)
Turns a scheme-specific specification into a table.
|
String |
getExampleSpecification()
Returns a scheme-specific specification string suitable for use
in examples.
|
String |
getSchemeName()
Returns "class";
|
String |
getSchemeUsage()
Returns a short, plain-text usage string.
|
String |
getXmlDescription()
Returns user-directed documentation in XML format.
|
public String getSchemeName()
getSchemeName
in interface TableScheme
public String getSchemeUsage()
TableScheme
getSchemeUsage
in interface TableScheme
public String getExampleSpecification()
TableScheme
getExampleSpecification
in interface TableScheme
public String getXmlDescription()
Documented
The output should be a sequence of one or more <P> elements, using XHTML-like XML. Since rendering may be done in a number of contexts however, use of the full range of XHTML elements is discouraged. Where possible, the content should stick to simple markup such as the elements P, A, UL, OL, LI, DL, DT, DD EM, STRONG, I, B, CODE, TT, PRE.
getXmlDescription
in interface Documented
public StarTable createTable(String spec) throws IOException
TableScheme
createTable
in interface TableScheme
spec
- scheme-specific table specification
(scheme name part is not included)TableFormatException
- if the format of the specification
is syntactically incorrect
(will typically provoke an error
containing the schemeUsage string)IOException
- if there is some other error in creating
the tableCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.