public class XmlTypesConverter extends Object
Constructor and Description |
---|
XmlTypesConverter(BinaryDataService binaryDataService)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getBinaryHandleAsString(RecordHolder binaryHandle,
String xsdType)
Converts data referenced by BinaryHandle object to String representation.
|
String |
getLSPSObjectAsString(SimpleType type,
Object value,
String xsdType)
Converts object of SimpleType to String representation.
|
public XmlTypesConverter(BinaryDataService binaryDataService)
binaryDataService
- public String getBinaryHandleAsString(RecordHolder binaryHandle, String xsdType)
binaryHandle
- BinaryHandle object referencing target data. If the provided
object is of different type, IllegalArgumentException is
thrownxsdType
- target xsd typepublic String getLSPSObjectAsString(SimpleType type, Object value, String xsdType)
type
- type of the given objectvalue
- object to convertxsdType
- target xsd typeCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.