public abstract class Scalar extends Object implements Value
Modifier | Constructor and Description |
---|---|
protected |
Scalar(String value) |
protected |
Scalar(String value,
ValueType type)
Constructs a Scalar
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
String |
getValue()
Retrieves the value
|
int |
hashcode() |
abstract boolean |
isSupportedPDSType(Constants.DictionaryType type) |
String |
toString() |
String |
toString(boolean retainQuotes)
Provides a string representation of the Scalar value with single or double
quotes surrounding it if the retainQuotes flag is set to true and the
ValueType was SINGLE_QUOTED or DOUBLE_QUOTED.
|
protected Scalar(String value)
public String getValue()
public String toString(boolean retainQuotes)
retainQuotes
- Set to true to return the value with quotes surrounding it if it
was originally there in the label.public abstract boolean isSupportedPDSType(Constants.DictionaryType type)
public int hashcode()
Copyright © 2005–2015 Planetary Data System. All rights reserved.