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