public class TestTableScheme extends Object implements TableScheme, Documented
Constructor and Description |
---|
TestTableScheme() |
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 the name of this scheme.
|
String |
getSchemeUsage()
Returns a short, plain-text usage string.
|
String |
getXmlDescription()
Returns user-directed documentation in XML format.
|
public String getSchemeName()
TableScheme
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 TableFormatException
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)Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.