Constructor and Description |
---|
AnyData(String string)
Constructs a Data object containing specified string.
|
Modifier and Type | Method and Description |
---|---|
String |
formatData(NamespaceToPrefixes nsToPrefixes)
Returns a parsable string representation of this data.
|
String |
getString()
Returns the string contained in this Data object.
|
public AnyData(String string)
public String getString()
public String formatData(NamespaceToPrefixes nsToPrefixes)
Data
formatData
in interface Data
nsToPrefixes
- may be needed by certain types of data to create
the string representation