%xsd.hexBinary
Class %xsd.hexBinary Extends %Binary [ Not ProcedureBlock, System = 2 ]
This data type is used to represent binary data that will be encoded using the hex encoding for XML serialization. Internally, this is stored as a string containing a binary value.
When a %Binary data type value is projected to a client application, such as when it is used in a Java, Visual Basic (ActiveX), ODBC, or JDBC application, the Object Server performs no translations or conversions on it. That is, the actual binary data is sent to and from the client without any Unicode (or other) translations.
Parameters
XSDTYPE
Parameter XSDTYPE = "hexBinary";
Declares the XSD type used when projecting XML schemas.
MAXLEN
Parameter MAXLEN As INTEGER;
There is no length restriction for %xsd binary types.
Methods
XSDToLogical
ClassMethod XSDToLogical(%val As %String) As %xsd.hexBinary [ CodeMode = generator ]
Converts the SOAP encoded base64 input value to a logical value.
LogicalToXSD
ClassMethod LogicalToXSD(%val As %xsd.hexBinary) As %String [ CodeMode = generator ]
Converts the %Binary value to the SOAP base64 encoded value.
JSONToLogical
ClassMethod JSONToLogical(%val As %String) As %xsd.hexBinary [ CodeMode = generator ]
Converts the JSON base64 input value to a logical value.
LogicalToJSON
ClassMethod LogicalToJSON(%val As %xsd.hexBinary) As %String [ CodeMode = generator ]
Converts the %Binary value to JSON base64 encoded value.