uk.ac.starlink.table.ValueInfo
public class ServiceDescriptorInfo
extends uk.ac.starlink.table.DefaultValueInfo
Constructor | Description |
---|---|
ServiceDescriptorInfo(java.lang.String name,
uk.ac.starlink.table.StarTable table) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
formatDescriptor(ServiceDescriptor sd,
uk.ac.starlink.table.StarTable table) |
Returns a string detailing the state of a given ServiceDesciptor
in a human-readable form.
|
java.lang.String |
formatValue(java.lang.Object value,
int maxLength) |
|
java.lang.Object |
unformatString(java.lang.String txt) |
Always returns null.
|
formatClass, formatShape, generalise, getContentClass, getDescription, getDomainMappers, getElementSize, getName, getShape, getUCD, getUnitString, getUtype, isArray, isNullable, setContentClass, setDescription, setDomainMappers, setElementSize, setName, setNullable, setShape, setUCD, setUnitString, setUtype, toString, unformatShape
public ServiceDescriptorInfo(java.lang.String name, uk.ac.starlink.table.StarTable table)
name
- descriptor name, should not be nulltable
- table to which the values of this info refer;
may be null if inapplicable or unknownpublic java.lang.String formatValue(java.lang.Object value, int maxLength)
formatValue
in interface uk.ac.starlink.table.ValueInfo
formatValue
in class uk.ac.starlink.table.DefaultValueInfo
public java.lang.Object unformatString(java.lang.String txt)
unformatString
in interface uk.ac.starlink.table.ValueInfo
unformatString
in class uk.ac.starlink.table.DefaultValueInfo
public static java.lang.String formatDescriptor(ServiceDescriptor sd, uk.ac.starlink.table.StarTable table)
sd
- service descriptortable
- table to which the descriptor refers;
may be null if inapplicable or unknownCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.